Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 38) sorted by relevance

12

/external/lldb/source/Target/
DSectionLoadList.cpp60 SectionLoadList::SetSectionLoadAddress (const lldb::SectionSP &section, addr_t load_addr, bool warn… in SetSectionLoadAddress() argument
72 load_addr); in SetSectionLoadAddress()
83 if (load_addr == sta_pos->second) in SetSectionLoadAddress()
86 sta_pos->second = load_addr; in SetSectionLoadAddress()
89 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress()
92 addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr); in SetSectionLoadAddress()
114 load_addr, in SetSectionLoadAddress()
125 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress()
155 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local
158 addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr); in SetSectionUnloaded()
[all …]
DTarget.cpp1281 addr_t load_addr = LLDB_INVALID_ADDRESS; in ReadMemory() local
1299load_addr = addr.GetOffset(); // "addr" doesn't have a section, so its offset is the load address in ReadMemory()
1300 m_section_load_list.ResolveLoadAddress (load_addr, resolved_addr); in ReadMemory()
1316 if (load_addr == LLDB_INVALID_ADDRESS) in ReadMemory()
1317 load_addr = resolved_addr.GetLoadAddress (this); in ReadMemory()
1319 if (load_addr == LLDB_INVALID_ADDRESS) in ReadMemory()
1332 bytes_read = m_process_sp->ReadMemory(load_addr, dst, dst_len, error); in ReadMemory()
1338 … error.SetErrorStringWithFormat("read memory from 0x%" PRIx64 " failed", load_addr); in ReadMemory()
1340 … " bytes were read from memory at 0x%" PRIx64, (uint64_t)bytes_read, (uint64_t)dst_len, load_addr); in ReadMemory()
1346 *load_addr_ptr = load_addr; in ReadMemory()
[all …]
/external/lldb/source/Expression/
DMaterializer.cpp153 const lldb::addr_t load_addr = process_address + m_offset; in Materialize() local
158 (uint64_t)load_addr, in Materialize()
177 map.WriteScalarToMemory(load_addr, in Materialize()
203 const lldb::addr_t load_addr = process_address + m_offset; in Dematerialize() local
225 map.ReadPointerFromMemory(&location, load_addr, read_error); in Dematerialize()
328 const lldb::addr_t load_addr = process_address + m_offset; in DumpToLog() local
330 …dump_stream.Printf("0x%" PRIx64 ": EntityPersistentVariable (%s)\n", load_addr, m_persistent_varia… in DumpToLog()
337 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog()
347 … extractor.DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, load_addr); in DumpToLog()
358 map.ReadPointerFromMemory (&target_address, load_addr, err); in DumpToLog()
[all …]
DClangExpressionDeclMap.cpp1489 lldb::addr_t load_addr = so_addr.GetLoadAddress(target); in GetVariableValue() local
1491 if (load_addr != LLDB_INVALID_ADDRESS) in GetVariableValue()
1493 var_location.GetScalar() = load_addr; in GetVariableValue()
1839 lldb::addr_t load_addr = fun_address->GetCallableLoadAddress(target, is_indirect_function); in AddOneFunction() local
1853 if (load_addr != LLDB_INVALID_ADDRESS) in AddOneFunction()
1856 parser_vars->m_lldb_value.GetScalar() = load_addr; in AddOneFunction()
/external/lldb/source/Core/
DAddressRange.cpp108 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local
109 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
112 if (load_base_addr <= load_addr) in ContainsLoadAddress()
113 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
119 AddressRange::ContainsLoadAddress (addr_t load_addr, Target *target) const in ContainsLoadAddress() argument
121 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
128 if (load_base_addr <= load_addr) in ContainsLoadAddress()
129 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
DAddress.cpp332 Address::SetCallableLoadAddress (lldb::addr_t load_addr, Target *target) in SetCallableLoadAddress() argument
334 if (SetLoadAddress (load_addr, target)) in SetCallableLoadAddress()
353 Address::SetOpcodeLoadAddress (lldb::addr_t load_addr, Target *target) in SetOpcodeLoadAddress() argument
355 if (SetLoadAddress (load_addr, target)) in SetOpcodeLoadAddress()
429 addr_t load_addr = GetLoadAddress (target); in Dump() local
430 if (load_addr == LLDB_INVALID_ADDRESS) in Dump()
436 s->Address (load_addr, addr_size); in Dump()
739 addr_t load_addr = GetLoadAddress (target); in Dump() local
740 if (load_addr != LLDB_INVALID_ADDRESS) in Dump()
743 … addr_t dereferenced_load_addr = process->ReadPointerFromMemory(load_addr, memory_error); in Dump()
[all …]
DValueObjectMemory.cpp220 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local
221 if (load_addr != LLDB_INVALID_ADDRESS) in UpdateValue()
224 m_value.GetScalar() = load_addr; in UpdateValue()
DValueObjectVariable.cpp213 lldb::addr_t load_addr = so_addr.GetLoadAddress (target); in UpdateValue() local
214 if (load_addr != LLDB_INVALID_ADDRESS) in UpdateValue()
217 m_value.GetScalar() = load_addr; in UpdateValue()
DDisassembler.cpp1047 InstructionList::GetIndexOfInstructionAtLoadAddress (lldb::addr_t load_addr, Target &target) in GetIndexOfInstructionAtLoadAddress() argument
1050 address.SetLoadAddress(load_addr, &target); in GetIndexOfInstructionAtLoadAddress()
1081 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in ParseInstructions() local
1087 &load_addr); in ParseInstructions()
1096 const bool data_from_file = load_addr == LLDB_INVALID_ADDRESS; in ParseInstructions()
1137 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in ParseInstructions() local
1143 &load_addr); in ParseInstructions()
1145 const bool data_from_file = load_addr == LLDB_INVALID_ADDRESS; in ParseInstructions()
/external/lldb/scripts/Python/interface/
DSBAddress.i59 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);
76 SetLoadAddress (lldb::addr_t load_addr,
147 def __set_load_addr_property__ (self, load_addr):
149 return self.SetLoadAddress (load_addr, target)
195 …if _newclass: load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''…
/external/compiler-rt/lib/asan/scripts/
Dsymbolize.py46 load_addr = int(match.group(1), 16)
47 load_addresses[path] = load_addr
48 return load_addr
81 load_addr = android_get_load_address(binary)
82 addr = hex(int(addr, 16) + load_addr)
/external/lldb/examples/python/
Dsymbolication.py42 def __init__(self, target, load_addr): argument
44 self.load_addr = load_addr # The load address that this object represents
51 s = "%#16.16x" % (self.load_addr)
62 self.so_addr = self.target.ResolveLoadAddress (self.load_addr)
125 function_offset = self.load_addr - function_start_load_addr
245 def get_section_containing_load_addr (self, load_addr): argument
247 if section_info.contains(load_addr):
402 def find_image_containing_load_addr(self, load_addr): argument
404 if image.get_section_containing_load_addr (load_addr):
425 def symbolicate(self, load_addr, verbose = False): argument
[all …]
Dgdb_disassemble.py6 start_addr = lldb.frame.function.addr.load_addr
10 start_addr = lldb.frame.symbol.addr.load_addr
14 inst_addr = inst.addr.load_addr
Dcrashlog.py569 frame_offset = frame_pc - block_start_addr.load_addr
571 frame_offset = frame_pc - frame.function.addr.load_addr
573 frame_offset = frame_pc - frame.symbol.addr.load_addr
/external/lldb/include/lldb/Target/
DSectionLoadList.h56 ResolveLoadAddress (lldb::addr_t load_addr, Address &so_addr) const;
59 …SetSectionLoadAddress (const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multip…
65 SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr);
DTarget.h516 CreateBreakpoint (lldb::addr_t load_addr,
655 …GetCallableLoadAddress (lldb::addr_t load_addr, lldb::AddressClass addr_class = lldb::eAddressClas…
670 …GetOpcodeLoadAddress (lldb::addr_t load_addr, lldb::AddressClass addr_class = lldb::eAddressClassI…
/external/lldb/source/API/
DSBAddress.cpp51 SBAddress::SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target) : in SBAddress() argument
54 SetLoadAddress (load_addr, target); in SBAddress()
143 SBAddress::SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target) in SetLoadAddress() argument
148 *this = target.ResolveLoadAddress(load_addr); in SetLoadAddress()
157 m_opaque_ap->SetOffset(load_addr); in SetLoadAddress()
/external/lldb/include/lldb/Core/
DAddress.h422 SetLoadAddress (lldb::addr_t load_addr, Target *target);
425 SetOpcodeLoadAddress (lldb::addr_t load_addr, Target *target);
428 SetCallableLoadAddress (lldb::addr_t load_addr, Target *target);
DAddressRange.h181 ContainsLoadAddress (lldb::addr_t load_addr, Target *target) const;
/external/lldb/include/lldb/API/
DSBAddress.h29 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);
52 SetLoadAddress (lldb::addr_t load_addr,
/external/lldb/include/lldb/Symbol/
DBlock.h451 GetRangeContainingLoadAddress (lldb::addr_t load_addr, Target &target, AddressRange &range);
/external/lldb/test/
Dlldbutil.py672 load_addr = addrs[i].GetLoadAddress(target)
678 num=i, addr=load_addr, mod=mods[i], symbol=symbols[i], offset=symbol_offset)
681 num=i, addr=load_addr, mod=mods[i],
/external/lldb/source/Plugins/Disassembler/llvm/
DDisassemblerLLVMC.cpp272 const lldb::addr_t load_addr = m_address.GetLoadAddress(target); in CalculateMnemonicOperandsAndComment() local
273 if (load_addr != LLDB_INVALID_ADDRESS) in CalculateMnemonicOperandsAndComment()
275 pc = load_addr; in CalculateMnemonicOperandsAndComment()
/external/lldb/source/Symbol/
DBlock.cpp321 Block::GetRangeContainingLoadAddress (lldb::addr_t load_addr, Target &target, AddressRange &range) in GetRangeContainingLoadAddress() argument
324 load_address.SetLoadAddress(load_addr, &target); in GetRangeContainingLoadAddress()
/external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.h194 SetLoadAddress (lldb::addr_t load_addr); // Address of the Mach-O header for this binary

12