Lines Matching full:elf
21 Elf *elf; in orc_dump() local
27 struct elf dummy_elf = {}; in orc_dump()
40 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); in orc_dump()
41 if (!elf) { in orc_dump()
46 if (!elf64_getehdr(elf)) { in orc_dump()
50 memcpy(&dummy_elf.ehdr, elf64_getehdr(elf), sizeof(dummy_elf.ehdr)); in orc_dump()
52 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()
57 if (elf_getshdrstrndx(elf, &shstrtab_idx)) { in orc_dump()
63 scn = elf_getscn(elf, i); in orc_dump()
74 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
123 scn = elf_getscn(elf, sym.st_shndx); in orc_dump()
134 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
140 name = elf_strptr(elf, strtab_idx, sym.st_name); in orc_dump()
156 elf_end(elf); in orc_dump()