Lines Matching defs:elf
929 Elf *elf = NULL;
947 elf = elf_begin(fd, ELF_C_READ, NULL);
948 if (!elf) {
952 if (!gelf_getehdr(elf, &ehdr)) {
957 if (elf_getshdrstrndx(elf, &shstrndx)) {
963 if (!elf_rawdata(elf_getscn(elf, shstrndx), NULL)) {
968 while ((scn = elf_nextscn(elf, scn)) != NULL) {
978 name = elf_strptr(elf, shstrndx, sh.sh_name);
1013 switch (gelf_getclass(elf)) {
1034 if (elf)
1035 elf_end(elf);