Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp51 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 …]
DGenGnuDebugdata.cpp36 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in InitEhdr()
DElfTestUtils.cpp39 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in TestInitEhdr()
DJitDebugTest.cpp97 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in CreateElf()
DMapInfoGetElfTest.cpp54 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in InitElf()
/system/unwinding/libunwindstack/
DElf.cpp211 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/
Dxz_android.cc76 memcmp(data.data(), ELFMAG, SELFMAG) != 0) in GetFilterID()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h72 #define SELFMAG 4 macro
/system/update_engine/common/
Dutils.cc634 if (size < SELFMAG || memcmp(buffer, ELFMAG, SELFMAG) != 0) in GetFileFormatELF()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp256 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in PutElfInMemory()