Home
last modified time | relevance | path

Searched refs:ELFMAG (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()
217 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F()
235 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F()
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/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.h71 #define ELFMAG "\177ELF" macro
/system/unwinding/libunwindstack/
DElf.cpp216 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in IsValidElf()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp256 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in PutElfInMemory()
/system/update_engine/common/
Dutils.cc634 if (size < SELFMAG || memcmp(buffer, ELFMAG, SELFMAG) != 0) in GetFileFormatELF()