Searched refs:SELFMAG (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() 215 uint8_t e_ident[SELFMAG + 1]; in TEST_F() 216 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() 217 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 233 uint8_t e_ident[SELFMAG + 1]; in TEST_F() 234 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() [all …]
|
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/unwinding/libunwindstack/ |
D | Elf.cpp | 211 uint8_t e_ident[SELFMAG + 1]; in IsValidElf() 212 if (!memory->ReadFully(0, e_ident, SELFMAG)) { in IsValidElf() 216 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in IsValidElf()
|
/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 | 72 #define SELFMAG 4 macro
|
/system/update_engine/common/ |
D | utils.cc | 634 if (size < SELFMAG || memcmp(buffer, ELFMAG, SELFMAG) != 0) in GetFileFormatELF()
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 256 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in PutElfInMemory()
|