| /linux/scripts/mod/ |
| H A D | mk_elfconfig.c | 16 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
|
| /linux/arch/mips/tools/ |
| H A D | elf-entry.c | 58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
|
| H A D | loongson3-llsc-check.c | 270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
|
| /linux/arch/powerpc/boot/ |
| H A D | elf.h | 132 #define SELFMAG 4 macro
|
| /linux/tools/perf/util/ |
| H A D | symbol-minimal.c | 119 if (memcmp(hdrs.ehdr32.e_ident, ELFMAG, SELFMAG) || in filename__read_build_id() 293 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit()
|
| /linux/arch/s390/kernel/ |
| H A D | kexec_elf.c | 126 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
|
| H A D | crash_dump.c | 451 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in ehdr_init()
|
| /linux/arch/arm/vdso/ |
| H A D | vdsomunge.c | 153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_helpers.h | 32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
|
| H A D | remoteproc_elf_loader.c | 64 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
|
| /linux/kernel/ |
| H A D | crash_core.c | 200 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in crash_prepare_elf64_headers() 609 if (memcmp(ptr, ELFMAG, SELFMAG) == 0) in crash_handle_hotplug_event()
|
| /linux/scripts/ |
| H A D | elf-parse.c | 81 if (memcmp(ELFMAG, ehdr->e32.e_ident, SELFMAG) != 0 || in elf_parse()
|
| H A D | recordmcount.c | 557 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
|
| /linux/arch/alpha/boot/tools/ |
| H A D | objstrip.c | 151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
|
| /linux/arch/mips/kernel/ |
| H 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/fs/ |
| H A D | coredump.c | 1764 char elfmag[SELFMAG]; in dump_vma_snapshot() 1766 if (copy_from_user(elfmag, (void __user *)m->start, SELFMAG) || in dump_vma_snapshot() 1767 memcmp(elfmag, ELFMAG, SELFMAG) != 0) { in dump_vma_snapshot()
|
| H A D | binfmt_elf_fdpic.c | 106 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0) in is_elf() 1242 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
|
| /linux/lib/ |
| H A D | buildid.c | 306 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in __build_id_parse()
|
| /linux/fs/proc/ |
| H A D | vmcore.c | 1227 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()
|
| /linux/drivers/soc/qcom/ |
| H A D | mdt_loader.c | 32 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) in mdt_header_valid()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 122 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 359 memcpy(elf->e_ident, ELFMAG, SELFMAG); in create_opalcore()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 210 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|
| /linux/arch/x86/tools/ |
| H A D | relocs.c | 350 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|
| /linux/arch/powerpc/kernel/ |
| H A D | fadump.c | 930 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fadump_init_elfcore_header()
|