| /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()
|
| H A D | dso.c | 1240 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) in dso__read_e_machine()
|
| /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/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/lib/ |
| H A D | buildid.c | 302 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in __build_id_parse()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 122 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in read_ehdr()
|
| /linux/fs/ |
| H A D | binfmt_elf.c | 857 if (memcmp(elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 961 if (memcmp(interp_elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 1442 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
|
| H A D | binfmt_elf_fdpic.c | 106 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0) in is_elf() 1248 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
|
| /linux/drivers/bus/mhi/host/ |
| H A D | boot.c | 575 if (!memcmp(fw_data + mhi_cntrl->sbl_size, ELFMAG, SELFMAG)) { in mhi_fw_load_handler()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 211 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/drivers/net/wireless/ath/ath11k/ |
| H A D | qmi.c | 2440 else if (bd.len >= SELFMAG && memcmp(bd.data, ELFMAG, SELFMAG) == 0) in ath11k_qmi_load_bdf_qmi()
|
| /linux/kernel/module/ |
| H A D | main.c | 1904 if (memcmp(info->hdr->e_ident, ELFMAG, SELFMAG) != 0) { in elf_validity_ehdr()
|