Searched refs:ELFMAG (Results 1 – 10 of 10) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | MapInfoCreateMemoryTest.cpp | 51 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in InitElf() 63 memcpy(buffer.data(), ELFMAG, SELFMAG); in SetUp() 68 memcpy(&buffer[0x1000], ELFMAG, SELFMAG); in SetUp() 122 ASSERT_TRUE(memcmp(buffer.data(), ELFMAG, SELFMAG) == 0); in TEST_F() 192 ASSERT_TRUE(memcmp(buffer.data(), ELFMAG, SELFMAG) == 0); in TEST_F() 217 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 235 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F()
|
D | GenGnuDebugdata.cpp | 36 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in InitEhdr()
|
D | ElfTestUtils.cpp | 39 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in TestInitEhdr()
|
D | JitDebugTest.cpp | 97 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in CreateElf()
|
D | MapInfoGetElfTest.cpp | 54 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in InitElf()
|
/system/update_engine/payload_generator/ |
D | xz_android.cc | 76 memcmp(data.data(), ELFMAG, SELFMAG) != 0) in GetFilterID()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | loader_util.h | 71 #define ELFMAG "\177ELF" macro
|
/system/unwinding/libunwindstack/ |
D | Elf.cpp | 216 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in IsValidElf()
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 256 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in PutElfInMemory()
|
/system/update_engine/common/ |
D | utils.cc | 634 if (size < SELFMAG || memcmp(buffer, ELFMAG, SELFMAG) != 0) in GetFileFormatELF()
|