Home
last modified time | relevance | path

Searched refs:sh_offset (Results 1 – 9 of 9) sorted by relevance

/system/core/libunwindstack/tests/
DElfInterfaceTest.cpp507 shdr.sh_offset = 0x10000; in SonameInit()
760 shdr.sh_offset = 0x5000; in InitSectionHeadersMalformedSymData()
770 shdr.sh_offset = 0x6000; in InitSectionHeadersMalformedSymData()
780 shdr.sh_offset = 0x6000; in InitSectionHeadersMalformedSymData()
790 shdr.sh_offset = 0xf000; in InitSectionHeadersMalformedSymData()
834 shdr.sh_offset = 0x5000; in InitSectionHeaders()
844 shdr.sh_offset = 0x6000; in InitSectionHeaders()
860 shdr.sh_offset = 0xf000; in InitSectionHeaders()
923 shdr.sh_offset = 0x5000; in InitSectionHeadersOffsets()
933 shdr.sh_offset = 0xf000; in InitSectionHeadersOffsets()
[all …]
DJitDebugTest.cpp90 uint64_t sh_offset = sizeof(ehdr); in CreateElf() local
95 ehdr.e_shoff = sh_offset; in CreateElf()
103 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
105 sh_offset += sizeof(shdr); in CreateElf()
109 shdr.sh_offset = 0x500; in CreateElf()
111 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
114 sh_offset += sizeof(shdr); in CreateElf()
119 shdr.sh_offset = 0x600; in CreateElf()
121 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
DGenGnuDebugdata.cpp67 shdr.sh_offset = 0x5000; in GenElf()
76 shdr.sh_offset = 0x200; in GenElf()
DElfTestUtils.cpp87 shdr.sh_offset = symtab_offset; in TestInitGnuDebugdata()
129 shdr.sh_offset = offset; in TestInitGnuDebugdata()
DMapInfoGetBuildIDTest.cpp157 shdr.sh_offset = 0xb000; in InitElfData()
167 shdr.sh_offset = 0xf000; in InitElfData()
DMapInfoGetElfTest.cpp52 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { in InitElf() argument
57 ehdr->e_shoff = sh_offset; in InitElf()
DMapInfoCreateMemoryTest.cpp45 static void InitElf(int fd, uint64_t file_offset, uint64_t sh_offset, uint8_t class_type) { in InitElf() argument
53 ehdr.e_shoff = sh_offset; in InitElf()
/system/core/libunwindstack/
DElfInterface.cpp303 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; in ReadSectionHeaders() local
304 if (memory_->ReadFully(sh_offset, &shdr, sizeof(shdr))) { in ReadSectionHeaders()
305 sec_offset = shdr.sh_offset; in ReadSectionHeaders()
331 symbols_.push_back(new Symbols(shdr.sh_offset, shdr.sh_size, shdr.sh_entsize, in ReadSectionHeaders()
332 str_shdr.sh_offset, str_shdr.sh_size)); in ReadSectionHeaders()
354 *offset_ptr = shdr.sh_offset; in ReadSectionHeaders()
362 static_cast<uint64_t>(shdr.sh_offset))); in ReadSectionHeaders()
368 gnu_build_id_offset_ = shdr.sh_offset; in ReadSectionHeaders()
554 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; in GetBuildIDInfo() local
555 if (!memory->ReadFully(sh_offset, &shdr, sizeof(shdr))) { in GetBuildIDInfo()
[all …]
/system/bpf/libbpf_android/
DLoader.cpp136 elfFile.seekg(shTable[id].sh_offset); in readSectionByIdx()
193 elfFile.seekg(shTable[i].sh_offset); in readSectionByName()
218 elfFile.seekg(shTable[i].sh_offset); in readSectionByType()