Searched refs:elf_memory (Results 1 – 9 of 9) sorted by relevance
/system/unwinding/libunwindstack/ |
D | Symbols.cpp | 50 Symbols::Info* Symbols::BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset) { in BinarySearch() argument 70 if (!elf_memory->ReadFully(offset_ + symbol_index * entry_size_, &sym, sizeof(sym))) { in BinarySearch() 91 void Symbols::BuildRemapTable(Memory* elf_memory) { in BuildRemapTable() argument 101 size_t size = elf_memory->Read(offset_ + symbol_idx * entry_size_, buffer, read); in BuildRemapTable() 126 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, SharedString* name, in GetName() argument 131 info = BinarySearch<SymType, false>(addr, elf_memory, func_offset); in GetName() 134 BuildRemapTable<SymType>(elf_memory); in GetName() 136 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName() 140 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName() 149 if (!elf_memory->ReadFully(offset_ + symbol_index * entry_size_, &sym, sizeof(sym))) { in GetName() [all …]
|
D | Symbols.h | 47 bool GetName(uint64_t addr, Memory* elf_memory, SharedString* name, uint64_t* func_offset); 50 bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address); 59 Info* BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset); 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 != 0x05) { 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 | 156 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local 159 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|