Lines Matching defs:ielf

48 cleanup(Elf *ielf, Elf *oelf, Elf *melf, Cache *icache, Cache *mcache,
63 if (ielf)
64 (void) elf_end(ielf);
147 Elf * ielf = 0, *oelf = 0, *melf = 0;
235 if ((ielf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
237 cleanup(ielf, oelf, melf, icache, mcache, fd, 0);
242 if ((elf_kind(ielf) != ELF_K_ELF) ||
243 ((iehdr = elf_getehdr(ielf)) == NULL) ||
246 cleanup(ielf, oelf, melf, icache, mcache, 0, 0);
257 cleanup(ielf, oelf, melf, icache, mcache, 0, 0);
262 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
271 if ((iphdr = elf_getphdr(ielf)) == NULL) {
273 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
312 if (elf_getshdrstrndx(ielf, &shndx) == -1) {
314 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
317 if ((scn = elf_getscn(ielf, shndx)) == NULL) {
319 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
324 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
336 if (elf_getshdrnum(ielf, &shndx) == -1) {
338 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
347 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
360 for (scn = 0; scn = elf_nextscn(ielf, scn); _icache++) {
364 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
370 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
385 cleanup(ielf, oelf, melf, icache, mcache,
470 cleanup(ielf, oelf, melf, icache, mcache,
536 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
553 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
572 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
594 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
599 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
619 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
652 cleanup(ielf, oelf, melf, icache,
712 cleanup(ielf, oelf, melf,
749 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
754 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
759 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
765 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
773 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
783 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
789 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
867 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
877 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
881 cleanup(ielf, oelf, melf, icache, mcache, fd, 0);