/system/core/libbacktrace/testdata/arm64/ |
D | offline_testdata | 2 map: start: 557066e000 end: 55706ee000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test64 3 map: start: 55706ef000 end: 55706f2000 offset: 80000 load_bias: 0 flags: 1 name: /data/backtrace_te… 4 map: start: 55706f2000 end: 55706f3000 offset: 83000 load_bias: 0 flags: 3 name: /data/backtrace_te… 5 map: start: 7014200000 end: 7014600000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: 701464c000 end: 701465c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/libcutil… 7 map: start: 701465c000 end: 701465d000 offset: 0 load_bias: 0 flags: 0 name: 8 map: start: 701465d000 end: 701465e000 offset: 10000 load_bias: 0 flags: 1 name: /system/lib64/libc… 9 map: start: 701465e000 end: 701465f000 offset: 11000 load_bias: 0 flags: 3 name: /system/lib64/libc… 10 map: start: 7014691000 end: 70146b5000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/liblzma.… 11 map: start: 70146b5000 end: 70146b6000 offset: 23000 load_bias: 0 flags: 1 name: /system/lib64/libl… [all …]
|
D | offline_testdata_for_libskia | 2 map: start: 7c24c80000 end: 7c25413000 offset: 0 load_bias: 5f000 flags: 5 name: /system/lib64/libs…
|
D | offline_testdata_for_eglSubDriverAndroid | 2 map: start: 7b8c01e000 end: 7b8c030000 offset: 0 load_bias: 0 flags: 5 name: /vendor/lib64/egl/eglS…
|
/system/core/libbacktrace/testdata/arm/ |
D | offline_testdata | 2 map: start: aad19000 end: aad6c000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test32 3 map: start: aad6c000 end: aad6e000 offset: 52000 load_bias: 0 flags: 1 name: /data/backtrace_test32 4 map: start: aad6e000 end: aad6f000 offset: 54000 load_bias: 0 flags: 3 name: /data/backtrace_test32 5 map: start: e7380000 end: e7400000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: e745f000 end: e7463000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libnetd_client… 7 map: start: e7463000 end: e7464000 offset: 3000 load_bias: 0 flags: 1 name: /system/lib/libnetd_cli… 8 map: start: e7464000 end: e7465000 offset: 4000 load_bias: 0 flags: 3 name: /system/lib/libnetd_cli… 9 map: start: e7480000 end: e7500000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 10 map: start: e7558000 end: e756c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libunwind.so 11 map: start: e756c000 end: e756d000 offset: 0 load_bias: 0 flags: 0 name: [all …]
|
D | offline_testdata_for_libandroid_runtime | 3 map: start: f1f10000 end: f2049000 offset: 0 load_bias: 10000 flags: 5 name: /system/lib/libandroid…
|
D | offline_testdata_for_libGLESv2_adreno | 3 map: start: cc361000 end: cc758000 offset: 0 load_bias: 9000 flags: 5 name: /vendor/lib/egl/libGLES…
|
/system/core/libbacktrace/testdata/x86_64/ |
D | offline_testdata | 2 map: start: 7fd5aa784000 end: 7fd5aa93e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 3 map: start: 7fd5aa93e000 end: 7fd5aab3e000 offset: 1ba000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 4 map: start: 7fd5aab3e000 end: 7fd5aab42000 offset: 1ba000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 5 map: start: 7fd5aab42000 end: 7fd5aab44000 offset: 1be000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 6 map: start: 7fd5aab44000 end: 7fd5aab49000 offset: 0 load_bias: 0 flags: 3 name: 7 map: start: 7fd5aab49000 end: 7fd5aac4e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 8 map: start: 7fd5aac4e000 end: 7fd5aae4d000 offset: 105000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 9 map: start: 7fd5aae4d000 end: 7fd5aae4e000 offset: 104000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 10 map: start: 7fd5aae4e000 end: 7fd5aae4f000 offset: 105000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 11 map: start: 7fd5aae4f000 end: 7fd5aae65000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… [all …]
|
/system/core/libbacktrace/testdata/x86/ |
D | offline_testdata | 2 map: start: f705a000 end: f705c000 offset: 0 load_bias: 0 flags: 3 name: 3 map: start: f705c000 end: f707f000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/o… 4 map: start: f707f000 end: f7080000 offset: 22000 load_bias: 0 flags: 1 name: /ssd/android/aosp_mast… 5 map: start: f7080000 end: f7081000 offset: 23000 load_bias: 0 flags: 3 name: /ssd/android/aosp_mast… 6 map: start: f7081000 end: f7088000 offset: 0 load_bias: 0 flags: 3 name: 7 map: start: f7088000 end: f7230000 offset: 0 load_bias: 0 flags: 5 name: /lib/i386-linux-gnu/libc-2… 8 map: start: f7230000 end: f7231000 offset: 1a8000 load_bias: 0 flags: 0 name: /lib/i386-linux-gnu/l… 9 map: start: f7231000 end: f7233000 offset: 1a8000 load_bias: 0 flags: 1 name: /lib/i386-linux-gnu/l… 10 map: start: f7233000 end: f7234000 offset: 1aa000 load_bias: 0 flags: 3 name: /lib/i386-linux-gnu/l… 11 map: start: f7234000 end: f7237000 offset: 0 load_bias: 0 flags: 3 name: [all …]
|
/system/core/libunwindstack/ |
D | ElfInterfaceArm.cpp | 82 bool ElfInterfaceArm::HandleType(uint64_t offset, uint32_t type, uint64_t load_bias) { in HandleType() argument 94 start_offset_ = phdr.p_vaddr - load_bias; in HandleType() 99 bool ElfInterfaceArm::Step(uint64_t pc, uint64_t load_bias, Regs* regs, Memory* process_memory, in Step() argument 105 return ElfInterface32::Step(pc, load_bias, regs, process_memory, finished) || in Step() 106 StepExidx(pc, load_bias, regs, process_memory, finished); in Step() 109 bool ElfInterfaceArm::StepExidx(uint64_t pc, uint64_t load_bias, Regs* regs, Memory* process_memory, in StepExidx() argument 112 if (pc < load_bias) { in StepExidx() 116 pc -= load_bias; in StepExidx() 170 bool ElfInterfaceArm::GetFunctionName(uint64_t addr, uint64_t load_bias, std::string* name, in GetFunctionName() argument 176 if (ElfInterface32::GetFunctionName(addr | 1, load_bias, name, offset)) { in GetFunctionName()
|
D | ElfInterfaceArm.h | 71 bool HandleType(uint64_t offset, uint32_t type, uint64_t load_bias) override; 73 bool Step(uint64_t pc, uint64_t load_bias, Regs* regs, Memory* process_memory, 76 bool StepExidx(uint64_t pc, uint64_t load_bias, Regs* regs, Memory* process_memory, 79 bool GetFunctionName(uint64_t addr, uint64_t load_bias, std::string* name,
|
D | MapInfo.cpp | 147 uint64_t cur_load_bias = load_bias.load(); in GetLoadBias() 158 load_bias = cur_load_bias; in GetLoadBias() 161 load_bias = 0; in GetLoadBias() 171 load_bias = cur_load_bias; in GetLoadBias()
|
D | ElfInterface.cpp | 162 bool ElfInterface::ReadAllHeaders(uint64_t* load_bias) { in ReadAllHeaders() argument 170 if (!ReadProgramHeaders<EhdrType, PhdrType>(ehdr, load_bias)) { in ReadAllHeaders() 203 bool ElfInterface::ReadProgramHeaders(const EhdrType& ehdr, uint64_t* load_bias) { in ReadProgramHeaders() argument 214 if (HandleType(offset, phdr.p_type, *load_bias)) { in ReadProgramHeaders() 253 *load_bias = phdr.p_vaddr; in ReadProgramHeaders() 444 bool ElfInterface::GetFunctionNameWithTemplate(uint64_t addr, uint64_t load_bias, std::string* name, in GetFunctionNameWithTemplate() argument 451 if (symbol->GetName<SymType>(addr, load_bias, memory_, name, func_offset)) { in GetFunctionNameWithTemplate() 472 bool ElfInterface::Step(uint64_t pc, uint64_t load_bias, Regs* regs, Memory* process_memory, in Step() argument 478 if (pc < load_bias) { in Step() 482 uint64_t adjusted_pc = pc - load_bias; in Step()
|
D | RegsArm.cpp | 58 uint64_t load_bias = elf->GetLoadBias(); in GetPcAdjustment() local 59 if (rel_pc < load_bias) { in GetPcAdjustment() 65 uint64_t adjusted_rel_pc = rel_pc - load_bias; in GetPcAdjustment()
|
D | Symbols.cpp | 57 bool Symbols::GetName(uint64_t addr, uint64_t load_bias, Memory* elf_memory, std::string* name, in GetName() argument 59 addr += load_bias; in GetName() 85 start_offset += load_bias; in GetName()
|
D | Maps.cpp | 206 const std::string& name, uint64_t load_bias) { in Add() argument 208 map_info->load_bias = load_bias; in Add()
|
/system/core/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 55 virtual bool Init(uint64_t* load_bias) = 0; 61 virtual bool GetFunctionName(uint64_t addr, uint64_t load_bias, std::string* name, 66 virtual bool Step(uint64_t rel_pc, uint64_t load_bias, Regs* regs, Memory* process_memory, 106 bool ReadAllHeaders(uint64_t* load_bias); 109 bool ReadProgramHeaders(const EhdrType& ehdr, uint64_t* load_bias); 118 bool GetFunctionNameWithTemplate(uint64_t addr, uint64_t load_bias, std::string* name, 168 bool Init(uint64_t* load_bias) override { in Init() argument 169 return ElfInterface::ReadAllHeaders<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(load_bias); in Init() 178 bool GetFunctionName(uint64_t addr, uint64_t load_bias, std::string* name, in GetFunctionName() argument 180 return ElfInterface::GetFunctionNameWithTemplate<Elf32_Sym>(addr, load_bias, name, func_offset); in GetFunctionName() [all …]
|
D | MapInfo.h | 43 load_bias(static_cast<uint64_t>(-1)) {} in MapInfo() 58 std::atomic_uint64_t load_bias; member
|
/system/core/libunwindstack/tools/ |
D | unwind_info.cpp | 48 uint64_t load_bias = entry.second.table_offset; in DumpArm() local 49 printf(" PC Range 0x%" PRIx64 " - 0x%" PRIx64 "\n", entry.second.offset + load_bias, in DumpArm() 50 entry.second.table_size + load_bias); in DumpArm() 53 printf(" PC 0x%" PRIx64, addr + load_bias); in DumpArm() 55 uint64_t pc = addr + load_bias; in DumpArm() 56 if (interface->GetFunctionName(pc, load_bias, &name, &func_offset) && !name.empty()) { in DumpArm() 85 void DumpDwarfSection(ElfInterface* interface, DwarfSection* section, uint64_t load_bias) { in DumpDwarfSection() argument 92 printf("\n PC 0x%" PRIx64, fde->pc_start + load_bias); in DumpDwarfSection() 95 … if (interface->GetFunctionName(fde->pc_start, load_bias, &name, &func_offset) && !name.empty()) { in DumpDwarfSection() 99 if (!section->Log(2, UINT64_MAX, load_bias, fde)) { in DumpDwarfSection()
|
D | unwind_symbols.cpp | 98 uint64_t load_bias = elf.GetLoadBias(); in main() local 116 uint64_t start = entry.second.offset + load_bias; in main() 117 uint64_t end = entry.second.table_size + load_bias; in main()
|
D | unwind_reg_info.cpp | 154 uint64_t load_bias = elf.GetLoadBias(); in GetInfo() local 155 if (pc < load_bias) { in GetInfo() 170 PrintRegInformation(section, memory, pc - load_bias, elf.class_type()); in GetInfo() 178 PrintRegInformation(section, memory, pc - load_bias, elf.class_type()); in GetInfo()
|
/system/core/libunwindstack/tests/ |
D | ElfInterfaceTest.cpp | 151 uint64_t load_bias = 0; in SinglePtLoad() local 152 ASSERT_TRUE(elf->Init(&load_bias)); in SinglePtLoad() 153 EXPECT_EQ(0x2000U, load_bias); in SinglePtLoad() 209 uint64_t load_bias = 0; in MultipleExecutablePtLoads() local 210 ASSERT_TRUE(elf->Init(&load_bias)); in MultipleExecutablePtLoads() 211 EXPECT_EQ(0x2000U, load_bias); in MultipleExecutablePtLoads() 278 uint64_t load_bias = 0; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local 279 ASSERT_TRUE(elf->Init(&load_bias)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() 280 EXPECT_EQ(0x2000U, load_bias); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() 349 uint64_t load_bias = 0; in NonExecutablePtLoads() local [all …]
|
/system/core/debuggerd/libdebuggerd/test/ |
D | tombstone_test.cpp | 212 map.load_bias = 0xd000; in TEST_F() 219 map.load_bias = 0x2000; in TEST_F() 226 map.load_bias = 0; in TEST_F() 266 map.load_bias = 0xd000; in TEST_F() 273 map.load_bias = 0x2000; in TEST_F() 280 map.load_bias = 0; in TEST_F() 318 map.load_bias = 0xd000; in TEST_F() 325 map.load_bias = 0x2000; in TEST_F() 332 map.load_bias = 0; in TEST_F() 370 map.load_bias = 0xd000; in TEST_F() [all …]
|
/system/core/libbacktrace/ |
D | UnwindStackMap.cpp | 63 map.load_bias = static_cast<uint64_t>(-1); in Build() 75 if (map->load_bias != static_cast<uint64_t>(-1)) { in FillIn() 84 map->load_bias = map_info->GetLoadBias(process_memory_); in FillIn() 141 maps->Add(map.start, map.end, map.offset, map.flags, map.name, map.load_bias); in Build()
|
D | UnwindMap.cpp | 60 map.load_bias = unw_map.load_base; in GenerateMap() 109 map.load_bias = unw_map.load_base; in GenerateMap()
|
/system/core/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 48 uint64_t load_bias = 0; member 100 if (map->load_bias == static_cast<uint64_t>(-1)) { 101 map->load_bias = map_->GetLoadBias(index_);
|