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() 191 ASSERT_TRUE(memcmp(buffer.data(), ELFMAG, SELFMAG) == 0); in TEST_F() 216 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 234 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 | 75 memcmp(data.data(), ELFMAG, SELFMAG) != 0) in GetFilterID()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | loader_util.h | 78 #define ELFMAG "\177ELF" macro
|
/system/unwinding/libunwindstack/ |
D | Elf.cpp | 221 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 | 689 if (size < SELFMAG || memcmp(buffer, ELFMAG, SELFMAG) != 0) in GetFileFormatELF()
|