Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DElfTestUtils.cpp68 ehdr.e_shnum = 3; in TestInitGnuDebugdata()
83 uint64_t symtab_offset = sizeof(ehdr) + ehdr.e_shnum * ehdr.e_shentsize; in TestInitGnuDebugdata()
DMapInfoGetElfTest.cpp59 ehdr->e_shnum = 4; in InitElf()
247 ehdr.e_shnum = 4; in TEST_F()
275 ehdr.e_shnum = 4; in TEST_F()
306 ehdr.e_shnum = 4; in TEST_F()
332 ehdr.e_shnum = 0; in TEST_F()
361 ehdr.e_shnum = 0; in TEST_F()
DElfInterfaceTest.cpp522 ehdr.e_shnum = 2; in SonameInit()
750 ehdr.e_shnum = 10; in InitSectionHeadersMalformed()
775 ehdr.e_shnum = 5; in InitSectionHeadersMalformedSymData()
848 ehdr.e_shnum = 5; in InitSectionHeaders()
934 ehdr.e_shnum = 7; in InitSectionHeadersOffsets()
1050 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameSectionBias()
1144 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1237 ehdr.e_shnum = 3; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1425 ehdr.e_shnum = 3; in TEST_F()
1482 ehdr.e_shnum = 3; in TEST_F()
[all …]
DGenGnuDebugdata.cpp47 ehdr->e_shnum = 3; in GenElf()
DMapInfoGetBuildIDTest.cpp135 ehdr.e_shnum = 3; in InitElfData()
DMapInfoCreateMemoryTest.cpp55 ehdr.e_shnum = 4; in InitElf()
428 ehdr.e_shnum = 1; in TEST_F()
DJitDebugTest.cpp103 ehdr.e_shnum = 4; in CreateElf()
DElfCacheTest.cpp119 ehdr.e_shnum = 1; in WriteElfFile()
DUnwinderTest.cpp1699 ehdr.e_shnum = 3; in TEST_F()
/system/unwinding/libunwindstack/
DElfInterface.cpp345 if (ehdr.e_shstrndx < ehdr.e_shnum) { in ReadSectionHeaders()
355 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ReadSectionHeaders()
364 if (shdr.sh_link >= ehdr.e_shnum) { in ReadSectionHeaders()
597 uint64_t elf_size = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in GetMaxSize()
632 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in GetBuildIDInfo()
645 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in GetBuildIDInfo()
/system/memory/libmeminfo/libelf64/
Dparse.cpp136 uint16_t shNum = elf64Binary.ehdr.e_shnum; in ParseSectionHeaders()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h169 Elf32_Half e_shnum; member
/system/chre/platform/shared/
Dnanoapp_loader.cc470 (elfHeader->e_shstrndx < elfHeader->e_shnum) && in verifyElfHeader()
555 size_t sectionHeaderSizeBytes = sizeof(SectionHeader) * elfHeader->e_shnum; in copyAndVerifyHeaders()
564 mNumSectionHeaders = elfHeader->e_shnum; in copyAndVerifyHeaders()
/system/bpf/loader/
DLoader.cpp141 shTable.resize(eh.e_shnum); in readSectionHeadersAll()
143 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp256 ehdr.e_shnum = 3; in PutElfInMemory()