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

Add automatic downloading of debug symbols and patch elf command #59

Closed
wants to merge 8 commits into from
Closed

Add automatic downloading of debug symbols and patch elf command #59

wants to merge 8 commits into from

Conversation

astro-angelfish
Copy link

@astro-angelfish astro-angelfish commented Aug 21, 2022

This PR is like #39. But I've finished automatic downloading of all platforms.
I've re-organized the structure of the libc database, allowing using debug symbols in different libc with different ID, and also allowing to save other shared object files like ld.so in libc packages for other exploitation like heap exploitation, which is requested in #9 .

The added code has also not been extensively tested. It might work on my machine, but bash is notoriously easy to mess up.
I will test it after the downloading of the libc database. It might not fit into the https://libc.rip website
Patching command currently does not support multiple libcs under the same directory. Maybe I need to add interaction to the script later.
I've added the support of the multiple libraries under the same directory.

I'm not a native English speaker so there might be grammatical errors or typos in the script or this PR message.

After this PR, all of the libc databases need to be re-downloaded to fit into the new database structure
Please wait for the repairing of compatibility of gdb. I have little time to do it because I'm busy with my study.

@astro-angelfish astro-angelfish marked this pull request as draft August 23, 2022 14:34
@astro-angelfish astro-angelfish marked this pull request as ready for review August 25, 2022 09:19
@astro-angelfish astro-angelfish marked this pull request as draft September 10, 2022 05:35
@astro-angelfish
Copy link
Author

Sorry for not updating because I forgot what I did and there is still some issues.

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

Successfully merging this pull request may close these issues.

1 participant