Lines Matching refs:elf
30 Elf *elf; in main() local
50 elf = elf_begin (fd, ELF_C_READ, NULL); in main()
51 if (elf == NULL) in main()
57 if (elf_kind (elf) != ELF_K_ELF) in main()
63 if (gelf_getehdr (elf, &ehdr) == NULL) in main()
70 gelf_getclass (elf) == ELFCLASS32 ? 9 : 17, "offset", in main()
71 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, "vaddr", in main()
72 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, "paddr", in main()
73 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, "filesz", in main()
74 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, "memsz"); in main()
89 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &mem); in main()
102 gelf_getclass (elf) == ELFCLASS32 ? 9 : 17, in main()
104 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, in main()
106 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, in main()
108 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, in main()
110 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, in main()
124 char *filedata = elf_rawfile (elf, &maxsize); in main()
132 if (elf_end (elf) != 0) in main()