Home
last modified time | relevance | path

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

12

/external/libunwind/src/
Delfxx.h98 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 in elf_w()
106 if (SELFMAG != elf_w (memory_read) (ei, start, e_ident, SELFMAG, false)) { in elf_w()
109 if (memcmp (e_ident, ELFMAG, SELFMAG) != 0) { in elf_w()
113 if (EI_NIDENT - SELFMAG != elf_w (memory_read) ( in elf_w()
114 ei, start + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG, false)) { in elf_w()
/external/google-breakpad/src/common/linux/
Delfutils.cc55 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); in FindElfClassSection()
90 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); in FindElfClassSegment()
111 ELFMAG, SELFMAG) == 0; in IsValidElf()
/external/google-breakpad/src/client/solaris/handler/
Dsolaris_lwp.cc356 char buf[SELFMAG]; in ListModules()
366 if (read(objectfd, buf, SELFMAG) != SELFMAG) { in ListModules()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc130 if (!mapped_file.data() || mapped_file.size() < SELFMAG) in ElfFileIdentifierForMapping()
211 if (!mapped_file.data() || mapped_file.size() < SELFMAG) { in ElfFileSoName()
Dlinux_ptrace_dumper_unittest.cc291 EXPECT_EQ(0, memcmp(linux_gate_loc, ELFMAG, SELFMAG)); in TEST_F()
/external/elfutils/libelf/
Dcommon.h50 if (len >= EI_NIDENT && memcmp (buf, ELFMAG, SELFMAG) == 0) in determine_kind()
Delf32_updatenull.c55 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) in ELFW()
57 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG); in ELFW()
Delf.h121 #define SELFMAG 4 macro
/external/valgrind/coregrind/
Dlauncher-linux.c200 } else if (n_bytes >= SELFMAG && memcmp(header.c, ELFMAG, SELFMAG) == 0) { in select_platform()
/external/syslinux/gpxe/src/image/
Delf.c133 if ( memcmp ( &ehdr.e_ident[EI_MAG0], ELFMAG, SELFMAG ) != 0 ) { in elf_load()
/external/elfutils/libasm/
Dasm_begin.c106 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG); in prepare_binary_output()
/external/syslinux/gpxe/src/include/
Delf.h126 #define SELFMAG 4 macro
/external/syslinux/com32/include/sys/
Delfcommon.h291 #define SELFMAG 4 macro
/external/valgrind/coregrind/m_ume/
Delf.c348 if (VG_(memcmp)(&e->e.e_ident[0], ELFMAG, SELFMAG) != 0) { in readelf()
491 return (len > sizeof(*e)) && VG_(memcmp)(&e->e_ident[0], ELFMAG, SELFMAG) == 0; in VG_()
/external/kernel-headers/original/uapi/linux/
Delf.h344 #define SELFMAG 4 macro
/external/elfutils/libdwfl/
Delf-from-memory.c92 if (memcmp (buffer, ELFMAG, SELFMAG) != 0) in elf_from_remote_memory()
Ddwfl_segment_report_module.c301 || memcmp (buffer, ELFMAG, SELFMAG) != 0) in dwfl_segment_report_module()
/external/libunwind/src/coredump/
D_UCD_create.c108 if (memcmp(&elf_header32, ELFMAG, SELFMAG) != 0) in _UCD_create()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc213 return memcmp(elf_header, ELFMAG, SELFMAG) == 0; in IsValidElf()
/external/syslinux/com32/tools/
Drelocs.c258 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) { in read_ehdr()
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c118 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) in load_debug_frame()
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c91 VG_(memcpy)(ehdr->e_ident, ELFMAG, SELFMAG); in fill_ehdr()
/external/valgrind/include/vki/
Dvki-solaris.h426 #define VKI_SELFMAG SELFMAG
/external/kmod/libkmod/
Dlibkmod-elf.c98 if (size <= EI_NIDENT || memcmp(p, ELFMAG, SELFMAG) != 0) in elf_identify()
/external/kmod/port-gnu/
Delf.h120 #define SELFMAG 4 macro

12