Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DSymbols.cpp58 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset) { in GetName() argument
64 return elf_memory->ReadString(info->str_offset, name, str_end_ - info->str_offset); in GetName()
72 if (!elf_memory->ReadFully(cur_offset_, &entry, sizeof(entry))) { in GetName()
92 return_value = elf_memory->ReadString(offset, name, str_end_ - offset); in GetName()
107 bool Symbols::GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address) { in GetGlobal() argument
111 if (!elf_memory->ReadFully(cur_offset, &entry, sizeof(entry))) { in GetGlobal()
121 if (elf_memory->ReadString(str_offset, &symbol, str_end_ - str_offset) && symbol == name) { in GetGlobal()
DSymbols.h47 bool GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset);
50 bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address);
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()
DRegsX86_64.cpp144 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
147 if (!elf_memory->ReadFully(rel_pc, &data, sizeof(data)) || data != 0x0f0000000fc0c748) { in StepIfSignalHandler()
152 if (!elf_memory->ReadFully(rel_pc + 8, &data2, sizeof(data2)) || data2 != 0x0f05) { in StepIfSignalHandler()
DRegsArm64.cpp129 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
132 if (!elf_memory->ReadFully(rel_pc, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsArm.cpp132 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
135 if (!elf_memory->ReadFully(rel_pc, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsMips64.cpp132 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
135 if (!elf_memory->Read(rel_pc, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsMips.cpp135 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
138 if (!elf_memory->ReadFully(rel_pc, &data, sizeof(data))) { in StepIfSignalHandler()
DRegsX86.cpp124 Memory* elf_memory = elf->memory(); in StepIfSignalHandler() local
127 if (!elf_memory->ReadFully(rel_pc, &data, sizeof(data))) { in StepIfSignalHandler()