Searched refs:elf_memory (Results 1 – 9 of 9) sorted by relevance
/system/core/libunwindstack/ |
D | Symbols.cpp | 47 uint32_t symbol_index, Memory* elf_memory) { in ReadFuncInfo() argument 53 if (!elf_memory->ReadFully(offset_ + symbol_index * entry_size_, &sym, sizeof(sym))) { in ReadFuncInfo() 69 const Symbols::Info* Symbols::BinarySearch(uint64_t addr, Memory* elf_memory) { in BinarySearch() argument 75 const Info* info = ReadFuncInfo<SymType>(symbol_index, elf_memory); in BinarySearch() 92 void Symbols::BuildRemapTable(Memory* elf_memory) { in BuildRemapTable() argument 102 size_t size = elf_memory->Read(offset_ + symbol_idx * entry_size_, buffer, read); in BuildRemapTable() 125 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset) { in GetName() argument 129 info = BinarySearch<SymType, false>(addr, elf_memory); in GetName() 132 BuildRemapTable<SymType>(elf_memory); in GetName() 134 info = BinarySearch<SymType, true>(addr, elf_memory); in GetName() [all …]
|
D | Symbols.h | 44 bool GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset); 47 bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address); 56 const Info* ReadFuncInfo(uint32_t symbol_index, Memory* elf_memory); 59 const Info* BinarySearch(uint64_t addr, Memory* elf_memory); 62 void BuildRemapTable(Memory* elf_memory);
|
D | RegsX86_64.cpp | 137 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 140 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data)) || data != 0x0f0000000fc0c748) { in StepIfSignalHandler() 145 if (!elf_memory->ReadFully(elf_offset + 8, &data2, sizeof(data2)) || data2 != 0x0f05) { in StepIfSignalHandler()
|
D | ArmExidx.h | 56 ArmExidx(RegsArm* regs, Memory* elf_memory, Memory* process_memory) in ArmExidx() argument 57 : regs_(regs), elf_memory_(elf_memory), process_memory_(process_memory) {} in ArmExidx()
|
D | RegsArm.cpp | 101 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 104 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsMips64.cpp | 124 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 127 if (!elf_memory->Read(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsMips.cpp | 127 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 130 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsX86.cpp | 117 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 120 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsArm64.cpp | 144 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 147 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|