Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose API to set libc name? #29

Open
tostercx opened this issue Jan 16, 2023 · 0 comments
Open

expose API to set libc name? #29

tostercx opened this issue Jan 16, 2023 · 0 comments

Comments

@tostercx
Copy link

Hey, thanks for making this!

if (regcomp(&reg, "/libc(\\.so\\.6|-2\\.[0-9]+\\.so)|/ld-musl-.+?\\.so\\.1", REG_EXTENDED) != 0) {

I have a suggestion to add an API to either let users set the regex or set the full path of libc in case of weird paths/names/versioning. The regex works reasonably well but I don't think we'll be able to catch them all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant