-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elf/symbol: Symbol link to program headers
GElf_Sym belongs to a section, and this section could belongs to more than one Phdrs. $ ./src/tests/ulpatch_test -f Elf.for_each_symbol -v ... 0x000000000051c120 424 OBJECT LOCAL INTERNAL 16 x86_64_reloc_map Type Offset VirtAddr PhysAddr FileSize MemSize Flags Align LOAD 0x00000000000f4000 0x00000000004f4000 00000000004f4000 0x0000000000045d98 0x0000000000045d98 R 00001000 0x000000000054b4a0 904 OBJECT GLOBAL INTERNAL 22 x86_64_pei_vec Type Offset VirtAddr PhysAddr FileSize MemSize Flags Align LOAD 0x000000000013a020 0x000000000053a020 000000000053a020 0x00000000000290f0 0x000000000002a5b8 RW 00001000 GNU_RELRO 0x000000000013a020 0x000000000053a020 000000000053a020 0x0000000000014fe0 0x0000000000014fe0 R 00000001 Signed-off-by: Rong Tao <[email protected]>
- Loading branch information
Showing
4 changed files
with
51 additions
and
3 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