Searched refs:e_ident (Results 1 – 10 of 10) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | GenGnuDebugdata.cpp | 36 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in InitEhdr() 37 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in InitEhdr() 38 ehdr->e_ident[EI_VERSION] = EV_CURRENT; in InitEhdr() 39 ehdr->e_ident[EI_OSABI] = ELFOSABI_SYSV; in InitEhdr() 40 ehdr->e_ident[EI_CLASS] = elf_class; in InitEhdr()
|
D | ElfTestUtils.cpp | 39 memcpy(&ehdr->e_ident[0], ELFMAG, SELFMAG); in TestInitEhdr() 40 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in TestInitEhdr() 41 ehdr->e_ident[EI_VERSION] = EV_CURRENT; in TestInitEhdr() 42 ehdr->e_ident[EI_OSABI] = ELFOSABI_SYSV; in TestInitEhdr() 43 ehdr->e_ident[EI_CLASS] = elf_class; in TestInitEhdr()
|
D | MapInfoCreateMemoryTest.cpp | 51 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in InitElf() 52 ehdr.e_ident[EI_CLASS] = class_type; in InitElf() 215 uint8_t e_ident[SELFMAG + 1]; in TEST_F() local 216 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() 217 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 220 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1)); in TEST_F() 233 uint8_t e_ident[SELFMAG + 1]; in TEST_F() local 234 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() 235 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 238 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1)); in TEST_F()
|
D | JitDebugTest.cpp | 97 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in CreateElf() 98 ehdr.e_ident[EI_CLASS] = class_type; in CreateElf()
|
D | MapInfoGetElfTest.cpp | 54 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in InitElf() 55 ehdr->e_ident[EI_CLASS] = class_type; in InitElf()
|
/system/unwinding/libunwindstack/ |
D | Elf.cpp | 211 uint8_t e_ident[SELFMAG + 1]; in IsValidElf() local 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 | 82 if (header->e_ident[EI_DATA] != ELFDATA2LSB) in GetFilterID()
|
/system/chre/platform/shared/ |
D | nanoapp_loader.cc | 412 if (elfHeader != nullptr && (elfHeader->e_ident[EI_MAG0] == ELFMAG0) && in verifyElfHeader() 413 (elfHeader->e_ident[EI_MAG1] == ELFMAG1) && in verifyElfHeader() 414 (elfHeader->e_ident[EI_MAG2] == ELFMAG2) && in verifyElfHeader() 415 (elfHeader->e_ident[EI_MAG3] == ELFMAG3) && in verifyElfHeader()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | loader_util.h | 150 unsigned char e_ident[EI_NIDENT]; member
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 256 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in PutElfInMemory() 257 ehdr.e_ident[EI_CLASS] = class_type; in PutElfInMemory()
|