/system/core/debuggerd/libdebuggerd/ |
elf_utils.cpp | 101 if (backtrace->Read(addr, e_ident, SELFMAG) != SELFMAG) { 105 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { 110 if (backtrace->Read(addr + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG) != EI_NIDENT - SELFMAG) {
|
/external/libunwind/src/ |
elfxx.h | 98 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 106 if (SELFMAG != elf_w (memory_read) (ei, start, e_ident, SELFMAG, false)) { 109 if (memcmp (e_ident, ELFMAG, SELFMAG) != 0) { 113 if (EI_NIDENT - SELFMAG != elf_w (memory_read) ( 114 ei, start + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG, false)) {
|
/system/core/libunwindstack/tests/ |
MapInfoCreateMemoryTest.cpp | 43 memcpy(buffer.data(), ELFMAG, SELFMAG); 44 for (size_t i = SELFMAG; i < buffer.size(); i++) { 52 memcpy(&buffer[0x100], ELFMAG, SELFMAG); 53 for (size_t i = 0x100 + SELFMAG; i < buffer.size(); i++) { 95 ASSERT_TRUE(memcmp(buffer.data(), ELFMAG, SELFMAG) == 0); 96 for (size_t i = SELFMAG; i < buffer.size(); i++) { 115 ASSERT_TRUE(memcmp(buffer.data(), ELFMAG, SELFMAG) == 0); 116 for (size_t i = SELFMAG; i < buffer.size(); i++) {
|
ElfTestUtils.cpp | 39 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG);
|
GenGnuDebugdata.cpp | 36 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG);
|
/external/google-breakpad/src/common/linux/ |
elfutils.cc | 55 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); 90 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); 111 ELFMAG, SELFMAG) == 0;
|
/system/core/libunwindstack/ |
Elf.cpp | 116 uint8_t e_ident[SELFMAG + 1]; 117 if (!memory->Read(0, e_ident, SELFMAG)) { 121 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) {
|
/bionic/libc/bionic/ |
dl_iterate_phdr_static.cpp | 41 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) {
|
/external/google-breakpad/src/client/solaris/handler/ |
solaris_lwp.cc | 356 char buf[SELFMAG]; 366 if (read(objectfd, buf, SELFMAG) != SELFMAG) {
|
/bionic/tests/ |
link_test.cpp | 58 ASSERT_EQ(0, memcmp(ehdr, ELFMAG, SELFMAG));
|
/external/elfutils/libelf/ |
common.h | 50 if (len >= EI_NIDENT && memcmp (buf, ELFMAG, SELFMAG) == 0)
|
elf32_updatenull.c | 55 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) 57 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
|
/external/syslinux/gpxe/src/image/ |
elf.c | 133 if ( memcmp ( &ehdr.e_ident[EI_MAG0], ELFMAG, SELFMAG ) != 0 ) {
|
/external/elfutils/libasm/ |
asm_begin.c | 106 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
|
/external/syslinux/gpxe/src/include/ |
elf.h | 126 #define SELFMAG 4
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_dumper.cc | 130 if (!mapped_file.data() || mapped_file.size() < SELFMAG) 211 if (!mapped_file.data() || mapped_file.size() < SELFMAG) {
|
/external/valgrind/coregrind/ |
launcher-linux.c | 200 } else if (n_bytes >= SELFMAG && memcmp(header.c, ELFMAG, SELFMAG) == 0) {
|
/development/ndk/platforms/android-9/include/linux/ |
elf.h | 306 #define SELFMAG 4
|
/external/syslinux/com32/include/sys/ |
elfcommon.h | 291 #define SELFMAG 4
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
elf.h | 327 #define SELFMAG 4
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/ |
elf.h | 306 #define SELFMAG 4
|
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/ |
elf.h | 306 #define SELFMAG 4
|
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/ |
elf.h | 306 #define SELFMAG 4
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/ |
elf.h | 306 #define SELFMAG 4
|
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/ |
elf.h | 306 #define SELFMAG 4
|