Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/
DElfInterface.cpp286 if (ehdr.e_shstrndx < ehdr.e_shnum) { in ReadSectionHeaders()
296 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ReadSectionHeaders()
305 if (shdr.sh_link >= ehdr.e_shnum) { in ReadSectionHeaders()
529 if (ehdr.e_shnum == 0) { in GetMaxSize()
532 *size = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in GetMaxSize()
546 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in GetBuildIDInfo()
559 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in GetBuildIDInfo()
/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()
254 ehdr.e_shnum = 4; in TEST_F()
282 ehdr.e_shnum = 4; in TEST_F()
311 ehdr.e_shnum = 0; in TEST_F()
338 ehdr.e_shnum = 0; in TEST_F()
DElfInterfaceTest.cpp521 ehdr.e_shnum = 2; in SonameInit()
753 ehdr.e_shnum = 10; in InitSectionHeadersMalformed()
778 ehdr.e_shnum = 5; in InitSectionHeadersMalformedSymData()
851 ehdr.e_shnum = 5; in InitSectionHeaders()
937 ehdr.e_shnum = 7; in InitSectionHeadersOffsets()
1050 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameSectionBias()
1142 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1233 ehdr.e_shnum = 3; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1421 ehdr.e_shnum = 3; in TEST_F()
1478 ehdr.e_shnum = 3; in TEST_F()
[all …]
DGenGnuDebugdata.cpp51 ehdr->e_shnum = 3; in GenElf()
DMapInfoGetBuildIDTest.cpp138 ehdr.e_shnum = 3; in InitElfData()
DMapInfoCreateMemoryTest.cpp55 ehdr.e_shnum = 4; in InitElf()
398 ehdr.e_shnum = 1; in TEST_F()
DJitDebugTest.cpp103 ehdr.e_shnum = 4; in CreateElf()
DUnwinderTest.cpp1692 ehdr.e_shnum = 3; in TEST_F()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h162 Elf32_Half e_shnum; member
/system/chre/platform/shared/
Dnanoapp_loader.cc419 (elfHeader->e_shstrndx < elfHeader->e_shnum) && in verifyElfHeader()
562 size_t sectionHeaderSizeBytes = sizeof(SectionHeader) * elfHeader->e_shnum; in copyAndVerifyHeaders()
570 mNumSectionHeaders = elfHeader->e_shnum; in copyAndVerifyHeaders()
/system/bpf/libbpf_android/
DLoader.cpp133 shTable.resize(eh.e_shnum); in readSectionHeadersAll()
135 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp262 ehdr.e_shnum = 3; in PutElfInMemory()