Searched refs:sh_offset (Results 1 – 9 of 9) sorted by relevance
/system/core/libunwindstack/tests/ |
D | ElfInterfaceTest.cpp | 507 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 …]
|
D | JitDebugTest.cpp | 90 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()
|
D | GenGnuDebugdata.cpp | 67 shdr.sh_offset = 0x5000; in GenElf() 76 shdr.sh_offset = 0x200; in GenElf()
|
D | ElfTestUtils.cpp | 87 shdr.sh_offset = symtab_offset; in TestInitGnuDebugdata() 129 shdr.sh_offset = offset; in TestInitGnuDebugdata()
|
D | MapInfoGetBuildIDTest.cpp | 157 shdr.sh_offset = 0xb000; in InitElfData() 167 shdr.sh_offset = 0xf000; in InitElfData()
|
D | MapInfoGetElfTest.cpp | 52 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()
|
D | MapInfoCreateMemoryTest.cpp | 45 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/ |
D | ElfInterface.cpp | 303 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/ |
D | Loader.cpp | 136 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()
|