Lines Matching defs:elf
35 * ldd opens the file and verifies the information in the elf header.
162 Elf *elf;
359 * Get the files elf descriptor and process it as an elf or
362 elf = elf_begin(var, ELF_C_READ, (Elf *)0);
363 switch (elf_kind(elf)) {
375 if (elf_check(nfile, fname, cname, elf, fflag) != NULL)
386 (void) elf_end(elf);
395 elf_check(int nfile, char *fname, char *cname, Elf *elf, int fflag)
405 if (gelf_getehdr(elf, &ehdr) == NULL) {
494 if (gelf_getphdr(elf, cnt, &phdr) == NULL) {
525 interpreter = elf_getident(elf, 0) + phdr.p_offset;
561 if (dynamic && (_gelf_getdyndtflags_1(elf) & DF_1_NOHDR)) {