Home
last modified time | relevance | path

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

12

/openbmc/linux/scripts/mod/
H A Dmk_elfconfig.c17 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
/openbmc/u-boot/tools/
H A Dprelink-riscv.c90 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) in main()
H A Dmips-relocs.c235 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()
/openbmc/linux/arch/mips/tools/
H A Delf-entry.c58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
H A Dloongson3-llsc-check.c270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
/openbmc/linux/arch/powerpc/boot/
H A Delf.h131 #define ELFMAG "\177ELF" macro
/openbmc/linux/tools/perf/util/
H A Dsymbol-minimal.c106 if (memcmp(e_ident, ELFMAG, SELFMAG) || in filename__read_build_id()
311 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit()
/openbmc/linux/arch/s390/kernel/
H A Dkexec_elf.c124 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_firmware.c44 if (strncmp((char *)&elf_hdr->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in pfe_load_elf()
/openbmc/linux/arch/arm/vdso/
H A Dvdsomunge.c153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
H A Dremoteproc_elf_loader.c64 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c142 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) { in check_ehdr()
/openbmc/linux/lib/
H A Dbuildid.c178 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in build_id_parse()
/openbmc/linux/arch/alpha/boot/tools/
H A Dobjstrip.c151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
/openbmc/linux/arch/mips/vdso/
H A Dgenvdso.c141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
/openbmc/linux/scripts/
H A Dsorttable.c297 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
/openbmc/linux/kernel/
H A Dcrash_core.c357 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in crash_prepare_elf64_headers()
838 if (memcmp(ptr, ELFMAG, SELFMAG) == 0) in crash_handle_hotplug_event()
H A Dkexec_elf.c26 return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0; in elf_is_elf_file()
/openbmc/linux/arch/mips/kernel/
H A Dvpe.c592 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload()
807 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
/openbmc/linux/include/uapi/linux/
H A Delf.h348 #define ELFMAG "\177ELF" macro
/openbmc/linux/fs/proc/
H A Dvmcore.c1227 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1283 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers()
1334 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
/openbmc/linux/fs/
H A Dbinfmt_elf.c848 if (memcmp(elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
952 if (memcmp(interp_elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
1382 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_library()
1496 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG); in check_core_file()
/openbmc/u-boot/include/
H A Delf.h52 #define ELFMAG "\177ELF" /* magic */ macro

12