Home
last modified time | relevance | path

Searched refs:ELFMAG (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c45 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0)
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h123 #define ELFMAG "\177ELF" macro
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c79 (memcmp(&ident[EI_MAG0], ELFMAG, 4) == 0) && in get_kernel_fd()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c99 } else if ((is_noelf = memcmp(&ehdr.e_ident[EI_MAG0], ELFMAG, in open_core()
H A DPcore.c1721 if ((is_noelf = memcmp(&e32.e_ident[EI_MAG0], ELFMAG, SELFMAG)) != 0 || in core_elf_fdopen()
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c69 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0)
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h122 #define ELFMAG "\177ELF" macro
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c605 bcopy(ELFMAG, ehdr.e_ident, SELFMAG); in objfs_data_read()
/illumos-gate/usr/src/boot/sys/sys/
H A Delf_common.h138 #define ELFMAG "\177ELF" /* magic string */ macro
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c843 if (mp->hdr.e_ident[i] != ELFMAG[i]) in init_xen_module()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c481 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in ctf_fdcreate_int()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c1090 if (ehdr->e_ident[j] != ELFMAG[j]) { in fastboot_load_kernel()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c897 memcmp(&ident[EI_MAG0], ELFMAG, 4) != 0) { in validate_unix()
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c192 if (*(int *)&elfhdr.e_ident == *(int *)(ELFMAG)) { in readfile()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c733 bcmp(&ehp->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) { in mdb_gelf_check()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c1892 if (mp->hdr.e_ident[i] != ELFMAG[i]) { in kobj_load_module()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c2232 if (memcmp(elf.e_ident, ELFMAG, 4) != 0) { in update_dircache()