1 #ifndef __LIBELFU_LOOKUP_H_
2 #define __LIBELFU_LOOKUP_H_
7 #include <libelfu/types.h>
9 char* elfu_sectionName(Elf *e, Elf_Scn *scn);
11 Elf_Scn* elfu_sectionByName(Elf *e, char *name);
13 Elf_Scn* elfu_firstSectionInSegment(Elf *e, GElf_Phdr *phdr);
14 Elf_Scn* elfu_lastSectionInSegment(Elf *e, GElf_Phdr *phdr);
16 size_t elfu_scnSizeFile(const GElf_Shdr *shdr);