Home
last modified time | relevance | path

Searched refs:elf_memory (Results 1 – 9 of 9) sorted by relevance

/system/unwinding/libunwindstack/
DSymbols.cpp50 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 …]
DSymbols.h47 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);
DRegsX86_64.cpp137 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()
DArmExidx.h56 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()
DRegsArm.cpp101 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
104 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsMips64.cpp124 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
127 if (!elf_memory->Read(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsMips.cpp127 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
130 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsX86.cpp117 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
120 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsArm64.cpp156 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
159 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()