Lines Matching defs:elf
38 getphdr(Elf * elf, int class)
41 if (elf == 0)
43 ELFWLOCK(elf);
44 if (elf->ed_class != class) {
46 ELFUNLOCK(elf);
49 if (elf->ed_phdr == 0)
50 (void) _elf_cook(elf);
51 rc = elf->ed_phdr;
52 ELFUNLOCK(elf);
58 elf32_getphdr(Elf * elf)
60 return ((Elf32_Phdr*) getphdr(elf, ELFCLASS32));
64 elf64_getphdr(Elf * elf)
66 return ((Elf64_Phdr*) getphdr(elf, ELFCLASS64));