| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | SectionLoadList.cpp | 65 addr_t load_addr, in SetSectionLoadAddress() argument 73 load_addr, module_sp.get()); in SetSectionLoadAddress() 83 if (load_addr == sta_pos->second) in SetSectionLoadAddress() 86 sta_pos->second = load_addr; in SetSectionLoadAddress() 88 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress() 91 addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr); in SetSectionLoadAddress() 111 load_addr, module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress() 129 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress() 140 section->GetName().AsCString(), load_addr); in SetSectionLoadAddress() 171 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local [all …]
|
| H A D | SectionLoadHistory.cpp | 114 bool SectionLoadHistory::ResolveLoadAddress(uint32_t stop_id, addr_t load_addr, in ResolveLoadAddress() argument 121 return section_load_list->ResolveLoadAddress(load_addr, so_addr); in ResolveLoadAddress() 125 uint32_t stop_id, const lldb::SectionSP §ion_sp, addr_t load_addr, in SetSectionLoadAddress() argument 131 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, in SetSectionLoadAddress() 147 addr_t load_addr) { in SetSectionUnloaded() argument 152 return section_load_list->SetSectionUnloaded(section_sp, load_addr); in SetSectionUnloaded()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Windows-DYLD/ |
| H A D | DynamicLoaderWindowsDYLD.cpp | 103 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadAddress() local 110 m_process->GetFileLoadAddress(file_spec, is_loaded, load_addr); in GetLoadAddress() 112 if (status.Success() && is_loaded && load_addr != LLDB_INVALID_ADDRESS) { in GetLoadAddress() 113 m_loaded_modules[executable] = load_addr; in GetLoadAddress() 114 return load_addr; in GetLoadAddress() 131 lldb::addr_t load_addr = GetLoadAddress(executable); in DidAttach() local 132 if (load_addr == LLDB_INVALID_ADDRESS) in DidAttach() 137 if (image_base == load_addr) in DidAttach() 141 UpdateLoadedSections(executable, LLDB_INVALID_ADDRESS, load_addr, false); in DidAttach() 158 lldb::addr_t load_addr = GetLoadAddress(executable); in DidLaunch() local [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | Materializer.cpp | 154 const lldb::addr_t load_addr = process_address + m_offset; in Materialize() local 160 (uint64_t)load_addr, in Materialize() 183 load_addr, in Materialize() 206 const lldb::addr_t load_addr = process_address + m_offset; in Dematerialize() local 235 map.ReadPointerFromMemory(&location, load_addr, read_error); in Dematerialize() 353 const lldb::addr_t load_addr = process_address + m_offset; in DumpToLog() local 356 load_addr, in DumpToLog() 364 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog() 370 load_addr); in DumpToLog() 381 map.ReadPointerFromMemory(&target_address, load_addr, err); in DumpToLog() [all …]
|
| H A D | DWARFExpressionList.cpp | 59 lldb::addr_t load_addr) const { in GetExpressionAtAddress() 64 addr_t addr = load_addr - func_load_addr + m_func_file_addr; in GetExpressionAtAddress() 73 lldb::addr_t load_addr) { in GetMutableExpressionAtAddress() argument 78 addr_t addr = load_addr - func_load_addr + m_func_file_addr; in GetMutableExpressionAtAddress()
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | AddressRange.cpp | 101 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local 102 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress() 105 if (load_base_addr <= load_addr) in ContainsLoadAddress() 106 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 111 bool AddressRange::ContainsLoadAddress(addr_t load_addr, Target *target) const { in ContainsLoadAddress() argument 112 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress() 119 if (load_base_addr <= load_addr) in ContainsLoadAddress() 120 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
|
| H A D | Address.cpp | 359 bool Address::SetCallableLoadAddress(lldb::addr_t load_addr, Target *target) { in SetCallableLoadAddress() argument 360 if (SetLoadAddress(load_addr, target)) { in SetCallableLoadAddress() 379 bool Address::SetOpcodeLoadAddress(lldb::addr_t load_addr, Target *target, in SetOpcodeLoadAddress() argument 382 if (SetLoadAddress(load_addr, target, allow_section_end)) { in SetOpcodeLoadAddress() 468 addr_t load_addr = GetLoadAddress(target); in Dump() local 482 load_addr = GetCallableLoadAddress(target); in Dump() 485 if (load_addr == LLDB_INVALID_ADDRESS) { in Dump() 490 DumpAddress(s->AsRawOstream(), load_addr, addr_size); in Dump() 774 addr_t load_addr = GetLoadAddress(target); in Dump() local 775 if (load_addr != LLDB_INVALID_ADDRESS) { in Dump() [all …]
|
| H A D | ValueObjectMemory.cpp | 193 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local 194 if (load_addr != LLDB_INVALID_ADDRESS) { in UpdateValue() 196 m_value.GetScalar() = load_addr; in UpdateValue()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBAddress.cpp | 43 SBAddress::SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target) in SBAddress() argument 45 LLDB_INSTRUMENT_VA(this, load_addr, target); in SBAddress() 47 SetLoadAddress(load_addr, target); in SBAddress() 122 void SBAddress::SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target) { in SetLoadAddress() argument 123 LLDB_INSTRUMENT_VA(this, load_addr, target); in SetLoadAddress() 128 *this = target.ResolveLoadAddress(load_addr); in SetLoadAddress() 136 m_opaque_up->SetOffset(load_addr); in SetLoadAddress()
|
| H A D | SBMemoryRegionInfo.cpp | 167 const addr_t load_addr = m_opaque_up->GetRange().base; in GetDescription() local 169 strm.Printf("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 " ", load_addr, in GetDescription() 170 load_addr + m_opaque_up->GetRange().size); in GetDescription()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | printcmd.c | 1055 CORE_ADDR load_addr; in address_info() local 1083 load_addr = SYMBOL_VALUE_ADDRESS (msymbol); in address_info() 1089 print_address_numeric (load_addr, 1, gdb_stdout); in address_info() 1094 load_addr = overlay_unmapped_address (load_addr, section); in address_info() 1096 print_address_numeric (load_addr, 1, gdb_stdout); in address_info() 1123 print_address_numeric (load_addr = SYMBOL_VALUE_ADDRESS (sym), in address_info() 1127 load_addr = overlay_unmapped_address (load_addr, section); in address_info() 1129 print_address_numeric (load_addr, 1, gdb_stdout); in address_info() 1150 print_address_numeric (load_addr = SYMBOL_VALUE_ADDRESS (sym), in address_info() 1154 load_addr = overlay_unmapped_address (load_addr, section); in address_info() [all …]
|
| H A D | solib-aix5.c | 457 CORE_ADDR load_addr; in enable_break() local 491 load_addr = read_pc () - tmp_bfd->start_address; in enable_break() 499 bfd_section_vma (tmp_bfd, interp_sect) + load_addr; in enable_break() 507 bfd_section_vma (tmp_bfd, interp_sect) + load_addr; in enable_break() 525 create_solib_event_breakpoint (load_addr + sym_addr); in enable_break()
|
| /openbsd-src/gnu/llvm/lldb/bindings/interface/ |
| H A D | SBAddress.i | 58 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target); 88 SetLoadAddress (lldb::addr_t load_addr, 155 def __set_load_addr_property__ (self, load_addr): 159 return self.SetLoadAddress (load_addr, target) 186 …load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write p…
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
| H A D | SectionLoadList.h | 43 bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr, 47 lldb::addr_t load_addr, 54 lldb::addr_t load_addr);
|
| H A D | SectionLoadHistory.h | 47 bool ResolveLoadAddress(uint32_t stop_id, lldb::addr_t load_addr, 52 lldb::addr_t load_addr, 59 lldb::addr_t load_addr);
|
| /openbsd-src/gnu/llvm/lldb/examples/python/ |
| H A D | gdb_disassemble.py | 7 start_addr = lldb.frame.function.addr.load_addr 11 start_addr = lldb.frame.symbol.addr.load_addr 15 inst_addr = inst.addr.load_addr
|
| H A D | symbolication.py | 43 def __init__(self, target, load_addr): argument 45 self.load_addr = load_addr # The load address that this object represents 57 s = "%#16.16x" % (self.load_addr) 68 self.so_addr = self.target.ResolveLoadAddress(self.load_addr) 137 function_offset = self.load_addr - function_start_load_addr 299 def get_section_containing_load_addr(self, load_addr): argument 301 if section_info.contains(load_addr): 498 def find_image_containing_load_addr(self, load_addr): argument 500 if image.get_section_containing_load_addr(load_addr): 521 def symbolicate(self, load_addr, verbose=False): argument [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 249 Status ScriptedProcess::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument 255 GetInterface().GetMemoryRegionContainingAddress(load_addr, error)) in DoGetMemoryRegionInfo() 454 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadedDynamicLibrariesInfos() local 456 dict->GetValueForKeyAsInteger("load_addr", load_addr); in GetLoadedDynamicLibrariesInfos() 458 if (load_addr == LLDB_INVALID_ADDRESS) in GetLoadedDynamicLibrariesInfos() 463 load_addr += slide; in GetLoadedDynamicLibrariesInfos() 466 module_sp->SetLoadAddress(target, load_addr, false /*=value_is_offset*/, in GetLoadedDynamicLibrariesInfos()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Architecture/Arm/ |
| H A D | ArchitectureArm.h | 26 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr, 29 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Architecture/Mips/ |
| H A D | ArchitectureMips.h | 30 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr, 33 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.cpp | 422 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() local 423 if (load_addr == LLDB_INVALID_ADDRESS) in BuildMemoryRegions() 425 MemoryRegionInfo::RangeType section_range(load_addr, in BuildMemoryRegions() 428 MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in BuildMemoryRegions() 446 Status ProcessMinidump::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument 449 region = MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in DoGetMemoryRegionInfo() 540 const uint64_t load_addr = module->BaseOfImage; in ReadModuleList() local 543 load_addr, load_addr + load_size, load_size); in ReadModuleList() 587 load_addr) in ReadModuleList() 605 module_spec, load_addr, load_size); in ReadModuleList() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Address.h | 406 bool SetLoadAddress(lldb::addr_t load_addr, Target *target, 410 lldb::addr_t load_addr, Target *target, 414 bool SetCallableLoadAddress(lldb::addr_t load_addr, Target *target);
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/API/ |
| H A D | SBAddress.h | 26 SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target); 48 void SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target);
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/mach-core/ |
| H A D | ProcessMachCore.cpp | 616 Status ProcessMachCore::DoGetMemoryRegionInfo(addr_t load_addr, in DoGetMemoryRegionInfo() argument 620 m_core_range_infos.FindEntryThatContainsOrFollows(load_addr); in DoGetMemoryRegionInfo() 622 if (permission_entry->Contains(load_addr)) { in DoGetMemoryRegionInfo() 636 } else if (load_addr < permission_entry->GetRangeBase()) { in DoGetMemoryRegionInfo() 637 region_info.GetRange().SetRangeBase(load_addr); in DoGetMemoryRegionInfo() 647 region_info.GetRange().SetRangeBase(load_addr); in DoGetMemoryRegionInfo()
|
| /openbsd-src/usr.sbin/mopd/common/ |
| H A D | file.c | 228 u_int32_t load_addr, xfr_addr, isd, iha, hbcnt, isize; in GetMopFileInfo() local 245 load_addr = ((header[isd+ISD_V_VPN+1]*256 + in GetMopFileInfo() 256 printf("Load Address: %08x\n",load_addr); in GetMopFileInfo() 263 load_addr = header[L_BSA+1]*256 + header[L_BSA]; in GetMopFileInfo() 269 printf("Load Address: %08x\n",load_addr); in GetMopFileInfo() 299 load_addr = (header[isd+ISD_V_VPN+1]*256 + in GetMopFileInfo() 309 printf("Load Address: %08x\n",load_addr); in GetMopFileInfo() 326 load_addr = 0; in GetMopFileInfo() 332 printf("Load Address: %08x\n",load_addr); in GetMopFileInfo() 344 dl->loadaddr = load_addr; in GetMopFileInfo() [all...] |