Searched refs:ELFMAG (Results 1 – 17 of 17) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 45 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0)
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 123 #define ELFMAG "\177ELF" macro
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_bargs.c | 79 (memcmp(&ident[EI_MAG0], ELFMAG, 4) == 0) && in get_kernel_fd()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 99 } else if ((is_noelf = memcmp(&ehdr.e_ident[EI_MAG0], ELFMAG, in open_core()
|
H A D | Pcore.c | 1721 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 D | nlist.c | 69 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 122 #define ELFMAG "\177ELF" macro
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 605 bcopy(ELFMAG, ehdr.e_ident, SELFMAG); in objfs_data_read()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf_common.h | 138 #define ELFMAG "\177ELF" /* magic string */ macro
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 843 if (mp->hdr.e_ident[i] != ELFMAG[i]) in init_xen_module()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 481 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in ctf_fdcreate_int()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 1090 if (ehdr->e_ident[j] != ELFMAG[j]) { in fastboot_load_kernel()
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 897 memcmp(&ident[EI_MAG0], ELFMAG, 4) != 0) { in validate_unix()
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 192 if (*(int *)&elfhdr.e_ident == *(int *)(ELFMAG)) { in readfile()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 733 bcmp(&ehp->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) { in mdb_gelf_check()
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 1892 if (mp->hdr.e_ident[i] != ELFMAG[i]) { in kobj_load_module()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 2232 if (memcmp(elf.e_ident, ELFMAG, 4) != 0) { in update_dircache()
|