diff options
author | norly <ny-git@enpas.org> | 2013-02-23 15:59:12 +0000 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-02-23 15:59:12 +0000 |
commit | 6e4cbafe0876ff14ff03a14ab80951167ef67e06 (patch) | |
tree | 6e8ef066e67b841ef5c18ece44d7543958db4e02 /include/libelfu/elfops.h | |
parent | c4d9a1aaf7c25e45adcaaebc970429f2c61bf6e9 (diff) |
Clean up ELF-related files and functions
Diffstat (limited to 'include/libelfu/elfops.h')
-rw-r--r-- | include/libelfu/elfops.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/libelfu/elfops.h b/include/libelfu/elfops.h index a57069d..25575a1 100644 --- a/include/libelfu/elfops.h +++ b/include/libelfu/elfops.h @@ -6,15 +6,14 @@ #include <libelfu/types.h> -size_t elfu_scnSizeFile(const GElf_Shdr *shdr); -char* elfu_sectionName(Elf *e, Elf_Scn *scn); -Elf_Scn* elfu_sectionByName(Elf *e, char *name); + char* elfu_eScnName(Elf *e, Elf_Scn *scn); +Elf_Scn* elfu_eScnByName(Elf *e, char *name); -int elfu_segmentContainsSection(GElf_Phdr *phdr, GElf_Shdr *shdr); -Elf_Scn* elfu_firstSectionInSegment(Elf *e, GElf_Phdr *phdr); -Elf_Scn* elfu_lastSectionInSegment(Elf *e, GElf_Phdr *phdr); + int elfu_ePhdrContainsScn(GElf_Phdr *phdr, GElf_Shdr *shdr); +Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr); +Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr); -void elfu_fixupPhdrSelfRef(Elf *e); +void elfu_ePhdrFixupSelfRef(Elf *e); #endif |