/linux/scripts/mod/ |
A D | mk_elfconfig.c | 17 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
|
/linux/arch/mips/tools/ |
A D | elf-entry.c | 58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
|
A D | loongson3-llsc-check.c | 270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
|
/linux/tools/perf/util/ |
A D | symbol-minimal.c | 106 if (memcmp(e_ident, ELFMAG, SELFMAG) || in filename__read_build_id() 311 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit()
|
/linux/arch/powerpc/boot/ |
A D | elf.h | 131 #define ELFMAG "\177ELF" macro
|
/linux/arch/s390/kernel/ |
A D | kexec_elf.c | 124 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
|
A D | crash_dump.c | 515 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in ehdr_init()
|
/linux/drivers/remoteproc/ |
A D | remoteproc_elf_helpers.h | 32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
|
A D | remoteproc_elf_loader.c | 64 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
|
/linux/arch/arm/vdso/ |
A D | vdsomunge.c | 153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
|
/linux/lib/ |
A D | buildid.c | 147 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in build_id_parse()
|
/linux/arch/mips/vdso/ |
A D | genvdso.c | 141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
|
/linux/arch/mips/kernel/ |
A D | vpe.c | 593 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload() 808 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
|
/linux/include/uapi/linux/ |
A D | elf.h | 344 #define ELFMAG "\177ELF" macro
|
/linux/fs/proc/ |
A D | vmcore.c | 1245 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers() 1301 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers() 1352 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
|
/linux/scripts/ |
A D | sorttable.c | 358 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
|
A D | recordmcount.c | 523 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A D | core-pkey.c | 205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG); in check_core_file()
|
/linux/fs/ |
A D | binfmt_elf.c | 848 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() 1359 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_library() 1473 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
|
A D | binfmt_elf_fdpic.c | 106 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0) in is_elf() 1239 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
|
/linux/kernel/ |
A D | kexec_elf.c | 26 return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0; in elf_is_elf_file()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-core.c | 357 memcpy(elf->e_ident, ELFMAG, SELFMAG); in create_opalcore()
|
/linux/arch/mips/boot/tools/ |
A D | relocs.c | 210 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|
/linux/arch/x86/tools/ |
A D | relocs.c | 371 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) { in read_ehdr()
|
/linux/drivers/media/platform/sti/c8sectpfe/ |
A D | c8sectpfe-core.c | 992 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) { in c8sectpfe_elf_sanity_check()
|