Home
last modified time | relevance | path

Searched refs:SELFMAG (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.12.1/scripts/mod/
Dmk_elfconfig.c16 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
/linux-6.12.1/arch/mips/tools/
Delf-entry.c58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
Dloongson3-llsc-check.c270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
/linux-6.12.1/arch/powerpc/boot/
Delf.h132 #define SELFMAG 4 macro
/linux-6.12.1/tools/perf/util/
Dsymbol-minimal.c106 if (memcmp(e_ident, ELFMAG, SELFMAG) || in filename__read_build_id()
313 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit()
/linux-6.12.1/arch/s390/kernel/
Dkexec_elf.c126 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
/linux-6.12.1/kernel/
Dcrash_core.c194 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in crash_prepare_elf64_headers()
586 if (memcmp(ptr, ELFMAG, SELFMAG) == 0) in crash_handle_hotplug_event()
Dkexec_elf.c26 return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0; in elf_is_elf_file()
/linux-6.12.1/drivers/remoteproc/
Dremoteproc_elf_helpers.h32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
Dremoteproc_elf_loader.c64 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
/linux-6.12.1/arch/arm/vdso/
Dvdsomunge.c153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
/linux-6.12.1/arch/alpha/boot/tools/
Dobjstrip.c151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
/linux-6.12.1/fs/
Dcoredump.c1245 char elfmag[SELFMAG]; in dump_vma_snapshot()
1247 if (copy_from_user(elfmag, (void __user *)m->start, SELFMAG) || in dump_vma_snapshot()
1248 memcmp(elfmag, ELFMAG, SELFMAG) != 0) { in dump_vma_snapshot()
Dbinfmt_elf.c843 if (memcmp(elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
947 if (memcmp(interp_elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
1372 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_library()
1471 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
Dbinfmt_elf_fdpic.c106 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0) in is_elf()
1232 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
/linux-6.12.1/arch/mips/vdso/
Dgenvdso.c141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
/linux-6.12.1/scripts/
Dsorttable.c297 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
Drecordmcount.c557 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
/linux-6.12.1/arch/mips/kernel/
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()
/linux-6.12.1/include/uapi/linux/
Delf.h349 #define SELFMAG 4 macro
/linux-6.12.1/fs/proc/
Dvmcore.c1225 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1281 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers()
1332 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
/linux-6.12.1/lib/
Dbuildid.c314 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in __build_id_parse()
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG); in check_core_file()
/linux-6.12.1/arch/s390/tools/
Drelocs.c122 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-core.c359 memcpy(elf->e_ident, ELFMAG, SELFMAG); in create_opalcore()

12