Lines Matching defs:elf
22 #include <elf.h>
87 elf_section_name (Elf *elf, GElf_Word shndx)
91 Elf_Scn *scn = elf_getscn (elf, shndx);
93 gelf_getehdr (elf, &ehdr);
94 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name);
98 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr)
101 Elf_Scn *scn = elf_getscn (elf, shndx);
123 Elf *elf;
136 &elf, &bias);
139 gelf_getehdr (elf, &ehdr);
152 /* Make sure the adjusted value really falls in the elf section. */
153 assert (addr_in_section (elf, shndxp, sym.st_value - bias));
164 /* Make sure the adjusted value really falls in the elf section. */
180 elf_section_name (elf, shndxp));