/linux-6.6.21/scripts/mod/ |
D | mk_elfconfig.c | 17 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
|
/linux-6.6.21/arch/mips/tools/ |
D | elf-entry.c | 58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
|
D | loongson3-llsc-check.c | 270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | elf.h | 131 #define ELFMAG "\177ELF" macro
|
/linux-6.6.21/tools/perf/util/ |
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-6.6.21/arch/s390/kernel/ |
D | kexec_elf.c | 124 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
|
D | crash_dump.c | 456 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in ehdr_init()
|
/linux-6.6.21/drivers/remoteproc/ |
D | remoteproc_elf_helpers.h | 32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
|
D | remoteproc_elf_loader.c | 64 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
|
/linux-6.6.21/arch/arm/vdso/ |
D | vdsomunge.c | 153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
|
/linux-6.6.21/lib/ |
D | buildid.c | 147 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in build_id_parse()
|
/linux-6.6.21/arch/alpha/boot/tools/ |
D | objstrip.c | 151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
|
/linux-6.6.21/arch/mips/vdso/ |
D | genvdso.c | 141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
|
/linux-6.6.21/scripts/ |
D | sorttable.c | 297 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
|
D | recordmcount.c | 557 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
|
/linux-6.6.21/kernel/ |
D | crash_core.c | 357 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in crash_prepare_elf64_headers() 839 if (memcmp(ptr, ELFMAG, SELFMAG) == 0) in crash_handle_hotplug_event()
|
D | kexec_elf.c | 26 return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0; in elf_is_elf_file()
|
/linux-6.6.21/arch/mips/kernel/ |
D | vpe.c | 592 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload() 807 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 348 #define ELFMAG "\177ELF" macro
|
/linux-6.6.21/fs/proc/ |
D | vmcore.c | 1222 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers() 1278 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers() 1329 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG); in check_core_file()
|
/linux-6.6.21/fs/ |
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() 1381 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_library() 1495 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
|
D | binfmt_elf_fdpic.c | 106 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0) in is_elf() 1235 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 359 memcpy(elf->e_ident, ELFMAG, SELFMAG); in create_opalcore()
|
/linux-6.6.21/arch/mips/boot/tools/ |
D | relocs.c | 210 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|