| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | SectionLoadList.cpp | 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() 129 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress() 171 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local 175 m_addr_to_sect.find(load_addr); in SetSectionUnloaded() 225 m_addr_to_sect.lower_bound(load_addr); in ResolveLoadAddress() 230 if (load_addr >= pos_load_addr) { in ResolveLoadAddress() 244 if (load_addr >= rpos->first) { in ResolveLoadAddress() [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()
|
| /freebsd-14.2/contrib/llvm-project/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 …]
|
| /freebsd-14.2/contrib/llvm-project/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() 356 load_addr, in DumpToLog() 370 load_addr); in DumpToLog() 708 load_addr); in DumpToLog() 736 load_addr); in DumpToLog() 1129 load_addr); in DumpToLog() 1157 load_addr); in DumpToLog() 1295 load_addr); 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()
|
| /freebsd-14.2/contrib/llvm-project/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 | 362 if (SetLoadAddress(load_addr, target)) { in SetCallableLoadAddress() 384 if (SetLoadAddress(load_addr, target, allow_section_end)) { in SetOpcodeLoadAddress() 471 addr_t load_addr = GetLoadAddress(target); in Dump() local 485 load_addr = GetCallableLoadAddress(target); in Dump() 488 if (load_addr == LLDB_INVALID_ADDRESS) { in Dump() 493 DumpAddress(s->AsRawOstream(), load_addr, addr_size); in Dump() 780 addr_t load_addr = GetLoadAddress(target); in Dump() local 781 if (load_addr != LLDB_INVALID_ADDRESS) { in Dump() 784 process->ReadPointerFromMemory(load_addr, memory_error); in Dump() 1049 load_addr, *this, allow_section_end)) in SetLoadAddress() [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()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/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);
|
| /freebsd-14.2/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBAddressExtensions.i | 21 def __set_load_addr_property__ (self, load_addr): 25 return self.SetLoadAddress (load_addr, target) 52 …load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write p…
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.cpp | 345 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() local 346 if (load_addr == LLDB_INVALID_ADDRESS) in BuildMemoryRegions() 348 MemoryRegionInfo::RangeType section_range(load_addr, in BuildMemoryRegions() 351 MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in BuildMemoryRegions() 369 Status ProcessMinidump::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument 372 region = MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in DoGetMemoryRegionInfo() 463 const uint64_t load_addr = module->BaseOfImage; in ReadModuleList() local 466 load_addr, load_addr + load_size, load_size); in ReadModuleList() 510 load_addr) in ReadModuleList() 528 module_spec, load_addr, load_size); in ReadModuleList() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 286 Status ScriptedProcess::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument 290 GetInterface().GetMemoryRegionContainingAddress(load_addr, error)) in DoGetMemoryRegionInfo() 472 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadedDynamicLibrariesInfos() local 474 dict->GetValueForKeyAsInteger("load_addr", load_addr); in GetLoadedDynamicLibrariesInfos() 476 if (load_addr == LLDB_INVALID_ADDRESS) in GetLoadedDynamicLibrariesInfos() 481 load_addr += slide; in GetLoadedDynamicLibrariesInfos() 484 module_sp->SetLoadAddress(target, load_addr, false /*=value_is_offset*/, in GetLoadedDynamicLibrariesInfos()
|
| /freebsd-14.2/contrib/llvm-project/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,
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | Address.h | 416 bool SetLoadAddress(lldb::addr_t load_addr, Target *target, 420 lldb::addr_t load_addr, Target *target, 424 bool SetCallableLoadAddress(lldb::addr_t load_addr, Target *target);
|
| /freebsd-14.2/contrib/llvm-project/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);
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleSaver.cpp | 264 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in BuildModulesSection() local 268 load_addr = base_addr.GetLoadAddress(&process.GetTarget()); in BuildModulesSection() 270 if (load_addr == LLDB_INVALID_ADDRESS) in BuildModulesSection() 286 JSONUINT64{load_addr}, module_sp->GetUUID().GetAsString()}); in BuildModulesSection()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | DWARFExpressionList.h | 68 lldb::addr_t load_addr) const; 74 lldb::addr_t load_addr = 0);
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 562 Status NativeProcessFreeBSD::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() argument 589 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo() 590 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo() 592 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo() 598 } else if (proc_entry_info.GetRange().Contains(load_addr)) { in GetMemoryRegionInfo() 609 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo() 729 lldb::addr_t &load_addr) { in GetFileLoadAddress() argument 730 load_addr = LLDB_INVALID_ADDRESS; in GetFileLoadAddress() 738 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.h | 57 Status GetMemoryRegionInfo(lldb::addr_t load_addr, 83 lldb::addr_t &load_addr) override;
|
| H A D | NativeProcessNetBSD.cpp | 619 Status NativeProcessNetBSD::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() argument 646 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo() 647 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo() 649 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo() 655 } else if (proc_entry_info.GetRange().Contains(load_addr)) { in GetMemoryRegionInfo() 666 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo() 777 lldb::addr_t &load_addr) { in GetFileLoadAddress() argument 778 load_addr = LLDB_INVALID_ADDRESS; in GetFileLoadAddress() 786 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
|
| /freebsd-14.2/sbin/pfctl/ |
| H A D | pfctl_table.c | 62 static int load_addr(struct pfr_buffer *, int, char *[], char *, int); 201 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table() 216 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table() 230 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table() 323 if (load_addr(&b, argc, argv, file, 1)) in pfctl_table() 414 load_addr(struct pfr_buffer *b, int argc, char *argv[], char *file, in load_addr() function
|