Home
last modified time | relevance | path

Searched refs:e_shentsize (Results 1 – 15 of 15) sorted by relevance

/system/unwinding/libunwindstack/tests/
DElfInterfaceTest.cpp522 ehdr.e_shentsize = sizeof(Shdr); in SonameInit()
754 ehdr.e_shentsize = sizeof(Shdr); in InitSectionHeadersMalformed()
779 ehdr.e_shentsize = sizeof(Shdr); in InitSectionHeadersMalformedSymData()
782 offset += ehdr.e_shentsize; in InitSectionHeadersMalformedSymData()
792 offset += ehdr.e_shentsize; in InitSectionHeadersMalformedSymData()
802 offset += ehdr.e_shentsize; in InitSectionHeadersMalformedSymData()
812 offset += ehdr.e_shentsize; in InitSectionHeadersMalformedSymData()
852 ehdr.e_shentsize = entry_size; in InitSectionHeaders()
855 offset += ehdr.e_shentsize; in InitSectionHeaders()
865 offset += ehdr.e_shentsize; in InitSectionHeaders()
[all …]
DElfTestUtils.cpp69 ehdr.e_shentsize = sizeof(Shdr); in TestInitGnuDebugdata()
77 offset += ehdr.e_shentsize; in TestInitGnuDebugdata()
81 offset += ehdr.e_shentsize; in TestInitGnuDebugdata()
83 uint64_t symtab_offset = sizeof(ehdr) + ehdr.e_shnum * ehdr.e_shentsize; in TestInitGnuDebugdata()
DGenGnuDebugdata.cpp52 ehdr->e_shentsize = sizeof(Shdr); in GenElf()
61 offset += ehdr->e_shentsize; in GenElf()
71 offset += ehdr->e_shentsize; in GenElf()
DMapInfoGetElfTest.cpp58 ehdr->e_shentsize = sizeof(Shdr) + 100; in InitElf()
246 ehdr.e_shentsize = sizeof(Elf32_Shdr) + 100; in TEST_F()
274 ehdr.e_shentsize = sizeof(Elf64_Shdr) + 100; in TEST_F()
305 ehdr.e_shentsize = sizeof(Elf64_Shdr) + 100; in TEST_F()
331 ehdr.e_shentsize = sizeof(Elf64_Shdr) + 100; in TEST_F()
360 ehdr.e_shentsize = sizeof(Elf64_Shdr) + 100; in TEST_F()
DMapInfoGetBuildIDTest.cpp139 ehdr.e_shentsize = sizeof(Elf32_Shdr); in InitElfData()
DMapInfoCreateMemoryTest.cpp54 ehdr.e_shentsize = sizeof(Shdr) + 100; in InitElf()
429 ehdr.e_shentsize = 0x100; in TEST_F()
DElfTest.cpp56 ehdr.e_shentsize = sizeof(Elf32_Shdr); in InitElf32()
95 ehdr.e_shentsize = sizeof(Elf64_Shdr); in InitElf64()
DJitDebugTest.cpp102 ehdr.e_shentsize = sizeof(ShdrType); in CreateElf()
DElfCacheTest.cpp121 ehdr.e_shentsize = sizeof(shdr); in WriteElfFile()
DUnwinderTest.cpp1707 ehdr.e_shentsize = sizeof(Elf32_Shdr); in TEST_F()
/system/unwinding/libunwindstack/
DElfInterface.cpp283 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; in ReadSectionHeaders()
291 offset += ehdr.e_shentsize; in ReadSectionHeaders()
292 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ReadSectionHeaders()
304 uint64_t str_offset = ehdr.e_shoff + shdr.sh_link * ehdr.e_shentsize; in ReadSectionHeaders()
528 uint64_t elf_size = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in GetMaxSize()
567 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; in GetBuildIDInfo()
575 offset += ehdr.e_shentsize; in GetBuildIDInfo()
576 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in GetBuildIDInfo()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h168 Elf32_Half e_shentsize; member
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp261 ehdr.e_shentsize = sizeof(ShdrType); in PutElfInMemory()
/system/chre/platform/shared/
Dnanoapp_loader.cc439 (elfHeader->e_shentsize == sizeof(SectionHeader)) && in verifyElfHeader()
/system/bpf/libbpf_android/
DLoader.cpp257 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll()