-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: improve the lone segment creator
Hello world from PHDR! All the remaining problems have been fixed! This tool is now capable of embedding data to executables and creating loading and descriptor segments for the data. It will be in memory and reachable before the code even starts executing! How cool is that? - At least two PT_NULL entries are now required for patching - They are also required to be the last entries - Eliminates the need to sort the PT_LOAD segments - Offsets and addresses are now aligned to page size as required - The data is mapped beyond the limits of virtual memory - Avoids conflicts with the .bss section - Seeks are only performed when necessary - Less system calls are issued - General code quality improvements I'd like to record here my thanks to those who helped me develop this! - Ada Christine <adachristine18@gmail.com> (https://github.com/adachristine) - The Linux, programming and C communities on libera - StackOverflow - Employed Russian - https://stackoverflow.com/q/77468641 - https://stackoverflow.com/a/77484607 - https://stackoverflow.com/users/50617/employed-russian - user17732522 - https://stackoverflow.com/q/77510669 - https://stackoverflow.com/a/77510941 - https://stackoverflow.com/users/17732522/user17732522
- Loading branch information
1 parent
d122cae
commit 6725425
Showing
1 changed file
with
174 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters