Home
last modified time | relevance | path

Searched refs:load_bias (Results 1 – 20 of 20) sorted by relevance

/system/unwinding/libunwindstack/tests/
DElfInterfaceTest.cpp158 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 …]
DElfFake.h56 void FakeSetLoadBias(uint64_t load_bias) { load_bias_ = load_bias; } in FakeSetLoadBias() argument
DMapInfoTest.cpp41 EXPECT_EQ(UINT64_MAX, map_info->load_bias()); in TEST()
57 EXPECT_EQ(UINT64_MAX, map_info->load_bias()); in TEST()
DElfTest.cpp108 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, &regs, &process_memory)); in VerifyStepIfSignalHandler()
DMapsTest.cpp79 ASSERT_EQ(0U, info1->load_bias().load()); in TEST()
99 ASSERT_EQ(0U, info->load_bias().load()); in TEST()
/system/unwinding/libunwindstack/tools/
Dunwind_info.cpp48 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()
Dunwind_reg_info.cpp181 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/
DUnwinderMock.h31 uint64_t load_bias) { in MockAddMap() argument
32 GetMaps()->Add(start, end, offset, flags, name, load_bias); in MockAddMap()
/system/unwinding/libunwindstack/include/unwindstack/
DElfInterface.h75 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);
DMaps.h60 uint64_t load_bias);
DMapInfo.h162 inline std::atomic_uint64_t& load_bias() { return GetElfFields().load_bias_; } in load_bias() function
/system/unwinding/libunwindstack/
DElfInterfaceArm.cpp29 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()
DRegs.cpp180 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()
DElfInterfaceArm.h90 void set_load_bias(uint64_t load_bias) { load_bias_ = load_bias; } in set_load_bias() argument
DMaps.cpp86 const std::string& name, uint64_t load_bias) { in Add() argument
89 map_info->set_load_bias(load_bias); in Add()
DElfInterface.cpp133 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()
DElf.cpp85 int64_t load_bias; in InitGnuDebugdata() local
86 if (gnu->Init(&load_bias)) { in InitGnuDebugdata()
DMapInfo.cpp341 uint64_t cur_load_bias = load_bias().load(); in GetLoadBias()
/system/core/debuggerd/proto/
Dtombstone.proto189 uint64 load_bias = 9; field
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp375 if (map.load_bias() != 0) { in print_memory_maps()
376 StringAppendF(&line, " (load bias 0x%" PRIx64 ")", map.load_bias()); in print_memory_maps()