Home
last modified time | relevance | path

Searched refs:IS_ELF (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/sys/powerpc/ofw/
H A Dofw_initrd.c101 if (IS_ELF(ehdr)) { in ofw_initrd_probe_and_attach()
/freebsd-13.1/usr.bin/gprof/
H A Delf.c77 if (read(fd, &h, sizeof h) != sizeof h || !IS_ELF(h)) { in elf_getnfile()
/freebsd-13.1/stand/mips/beri/boot2/
H A Dboot2.c314 if (!IS_ELF(*ehp)) { in boot_fromdram()
344 if (IS_ELF(hdr.eh)) { in boot_fromfs()
/freebsd-13.1/lib/libkvm/
H A Dkvm_powerpc.c59 if (!IS_ELF(*eh)) in valid_elf_header()
H A Dkvm_powerpc64.c59 if (!IS_ELF(*eh)) in valid_elf_header()
/freebsd-13.1/lib/libc/gen/
H A Dnlist.c111 if (IS_ELF(*ehdr) && in __elf_is_okay__()
/freebsd-13.1/sys/compat/linux/
H A Dlinux_vdso.c115 if (!IS_ELF(*ehdr) || in __elfN()
/freebsd-13.1/sys/kern/
H A Dkern_ctf.c115 if (!IS_ELF(*hdr)) { in link_elf_ctf_get()
H A Dlink_elf.c1017 if (!IS_ELF(*hdr)) { in link_elf_load_file()
/freebsd-13.1/stand/i386/isoboot/
H A Disoboot.c350 else if (IS_ELF(hdr.eh)) in load()
/freebsd-13.1/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c175 if (IS_ELF(eh) == 0 || eh.e_ident[EI_CLASS] != ELFCLASS) in ELFNAMEEND()
/freebsd-13.1/stand/i386/boot2/
H A Dboot2.c313 } else if (IS_ELF(hdr.eh)) { in load()
/freebsd-13.1/libexec/rtld-elf/
H A Dmap_object.c351 if (!IS_ELF(*hdr)) { in check_elf_headers()
/freebsd-13.1/sys/powerpc/powerpc/
H A Dmachdep.c576 if (!IS_ELF(*ehdr)) { in load_external_symtab()
/freebsd-13.1/stand/i386/zfsboot/
H A Dzfsboot.c366 } else if (IS_ELF(hdr.eh)) { in load()
/freebsd-13.1/stand/powerpc/boot1.chrp/
H A Dboot1.c605 if (!IS_ELF(eh)) { in load()
/freebsd-13.1/usr.sbin/btxld/
H A Dbtxld.c368 if (hdr->size >= sizeof(Elf32_Ehdr) && IS_ELF(*ee)) { in gethdr()
/freebsd-13.1/stand/i386/gptboot/
H A Dgptboot.c411 else if (IS_ELF(hdr.eh)) in load()
/freebsd-13.1/usr.sbin/kldxref/
H A Def.c597 if (!IS_ELF(*hdr)) in ef_open()
H A Def_obj.c393 if (!IS_ELF(*hdr)) in ef_obj_open()
/freebsd-13.1/stand/common/
H A Dload_elf_obj.c134 if (!IS_ELF(*hdr)) { in __elfN()
H A Dload_elf.c264 if (!IS_ELF(*ehdr)) { in __elfN()
/freebsd-13.1/sys/sys/
H A Delf_common.h192 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ macro
/freebsd-13.1/usr.bin/gcore/
H A Delfcore.c159 if (!IS_ELF(hdr)) in elf_ident()
/freebsd-13.1/usr.bin/elfdump/
H A Delfdump.c606 if (!IS_ELF(*e)) { in main()

12