Searched refs:e_ident (Results 1 – 7 of 7) sorted by relevance
/system/core/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() 220 uint8_t e_ident[SELFMAG + 1]; in TEST_F() local 221 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() 222 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 225 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1)); in TEST_F() 238 uint8_t e_ident[SELFMAG + 1]; in TEST_F() local 239 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG)); in TEST_F() 240 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG)); in TEST_F() 243 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1)); in TEST_F()
|
D | JitDebugTest.cpp | 91 memcpy(ehdr.e_ident, ELFMAG, SELFMAG); in CreateElf() 92 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/core/libunwindstack/ |
D | Elf.cpp | 198 uint8_t e_ident[SELFMAG + 1]; in IsValidElf() local 199 if (!memory->ReadFully(0, e_ident, SELFMAG)) { in IsValidElf() 203 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()
|