/system/unwinding/libunwindstack/tests/ |
D | ElfInterfaceTest.cpp | 158 void CheckLoadBiasInFirstPhdr(int64_t load_bias); 161 void CheckLoadBiasInFirstExecPhdr(uint64_t offset, uint64_t vaddr, int64_t load_bias); 198 int64_t load_bias = 0; in SinglePtLoad() local 199 ASSERT_TRUE(elf->Init(&load_bias)); in SinglePtLoad() 200 EXPECT_EQ(0x2000, load_bias); in SinglePtLoad() 254 int64_t load_bias = 0; in MultipleExecutablePtLoads() local 255 ASSERT_TRUE(elf->Init(&load_bias)); in MultipleExecutablePtLoads() 256 EXPECT_EQ(0x2000, load_bias); in MultipleExecutablePtLoads() 321 int64_t load_bias = 0; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local 322 ASSERT_TRUE(elf->Init(&load_bias)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() [all …]
|
D | ElfFake.h | 56 void FakeSetLoadBias(uint64_t load_bias) { load_bias_ = load_bias; } in FakeSetLoadBias() argument
|
D | MapInfoTest.cpp | 41 EXPECT_EQ(UINT64_MAX, map_info->load_bias()); in TEST() 57 EXPECT_EQ(UINT64_MAX, map_info->load_bias()); in TEST()
|
D | ElfTest.cpp | 108 void VerifyStepIfSignalHandler(uint64_t load_bias); 317 void ElfTest::VerifyStepIfSignalHandler(uint64_t load_bias) { in VerifyStepIfSignalHandler() argument 326 elf.FakeSetLoadBias(load_bias); in VerifyStepIfSignalHandler() 336 ASSERT_TRUE(elf.StepIfSignalHandler(0x3000 + load_bias, ®s, &process_memory)); in VerifyStepIfSignalHandler()
|
D | MapsTest.cpp | 79 ASSERT_EQ(0U, info1->load_bias().load()); in TEST() 99 ASSERT_EQ(0U, info->load_bias().load()); in TEST()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_info.cpp | 48 uint64_t load_bias = elf->GetLoadBias(); in DumpArm() local 50 printf(" PC Range 0x%" PRIx64 " - 0x%" PRIx64 "\n", entry.second.offset + load_bias, in DumpArm() 51 entry.second.offset + entry.second.table_size + load_bias); in DumpArm() 54 printf(" PC 0x%" PRIx64, pc + load_bias); in DumpArm() 56 if (elf->GetFunctionName(pc + load_bias, &name, &func_offset) && !name.empty()) { in DumpArm()
|
D | unwind_reg_info.cpp | 181 uint64_t load_bias = elf.GetLoadBias(); in GetInfo() local 182 if (pc < load_bias) { in GetInfo() 201 PrintArmRegInformation(reinterpret_cast<ElfInterfaceArm*>(interface), pc - load_bias); in GetInfo()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | UnwinderMock.h | 31 uint64_t load_bias) { in MockAddMap() argument 32 GetMaps()->Add(start, end, offset, flags, name, load_bias); in MockAddMap()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 75 virtual bool Init(int64_t* load_bias) = 0; 199 bool Init(int64_t* load_bias) override { return ReadAllHeaders(load_bias); } in Init() argument 214 bool ReadAllHeaders(int64_t* load_bias); 216 void ReadProgramHeaders(const EhdrType& ehdr, int64_t* load_bias);
|
D | Maps.h | 60 uint64_t load_bias);
|
D | MapInfo.h | 162 inline std::atomic_uint64_t& load_bias() { return GetElfFields().load_bias_; } in load_bias() function
|
/system/unwinding/libunwindstack/ |
D | ElfInterfaceArm.cpp | 29 bool ElfInterfaceArm::Init(int64_t* load_bias) { in Init() argument 30 if (!ElfInterface32::Init(load_bias)) { in Init() 33 load_bias_ = *load_bias; in Init()
|
D | Regs.cpp | 180 uint64_t load_bias = elf->GetLoadBias(); in GetPcAdjustment() local 181 if (rel_pc < load_bias) { in GetPcAdjustment() 187 uint64_t adjusted_rel_pc = rel_pc - load_bias; in GetPcAdjustment()
|
D | ElfInterfaceArm.h | 90 void set_load_bias(uint64_t load_bias) { load_bias_ = load_bias; } in set_load_bias() argument
|
D | Maps.cpp | 86 const std::string& name, uint64_t load_bias) { in Add() argument 89 map_info->set_load_bias(load_bias); in Add()
|
D | ElfInterface.cpp | 133 bool ElfInterfaceImpl<ElfTypes>::ReadAllHeaders(int64_t* load_bias) { in ReadAllHeaders() argument 143 ReadProgramHeaders(ehdr, load_bias); in ReadAllHeaders() 171 void ElfInterfaceImpl<ElfTypes>::ReadProgramHeaders(const EhdrType& ehdr, int64_t* load_bias) { in ReadProgramHeaders() argument 191 *load_bias = static_cast<uint64_t>(phdr.p_vaddr) - phdr.p_offset; in ReadProgramHeaders()
|
D | Elf.cpp | 85 int64_t load_bias; in InitGnuDebugdata() local 86 if (gnu->Init(&load_bias)) { in InitGnuDebugdata()
|
D | MapInfo.cpp | 341 uint64_t cur_load_bias = load_bias().load(); in GetLoadBias()
|
/system/core/debuggerd/proto/ |
D | tombstone.proto | 189 uint64 load_bias = 9; field
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto_to_text.cpp | 375 if (map.load_bias() != 0) { in print_memory_maps() 376 StringAppendF(&line, " (load bias 0x%" PRIx64 ")", map.load_bias()); in print_memory_maps()
|