-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#4087: Statically retarget libelftc malloc to DR (#4094)
Re-builds the ELF libeltc binaries to directly target the __wrap_ versions of malloc, calloc, realloc, free, and strdup. This avoids libc for statically linked uses rather than solely relying on the DR private loader to redirect. Updates *all* of the binaries: aarch64, android, arm EABI, arm EABIHF, macho, pecoff lib32, pecoff lib64. Due to a bug in libelftc r3531 (https://sourceforge.net/p/elftoolchain/tickets/581/) all the new binaries are built at r3531. Changes the __wrap_ and redirect_ malloc routines to be cross-platform and usable on Windows. Clang-formats the libelftc headers we share. Fixes libelftc-pecoff.patch which had all the added files stripped out by e345a54!! Fixes #4087
- Loading branch information
1 parent
2d699bc
commit 7fd5d95
Showing
58 changed files
with
4,467 additions
and
3,928 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
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
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
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
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
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
Oops, something went wrong.