Home
last modified time | relevance | path

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

123

/src/contrib/llvm-project/lldb/source/Target/
H A DSectionLoadList.cpp65 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 DSectionLoadHistory.cpp114 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 &section_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()
/src/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp103 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 …]
/src/contrib/llvm-project/lldb/source/Expression/
H A DMaterializer.cpp154 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 DDWARFExpressionList.cpp59 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()
/src/contrib/llvm-project/lldb/source/Core/
H A DAddressRange.cpp102 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local
103 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
106 if (load_base_addr <= load_addr) in ContainsLoadAddress()
107 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
112 bool AddressRange::ContainsLoadAddress(addr_t load_addr, Target *target) const { in ContainsLoadAddress() argument
113 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
120 if (load_base_addr <= load_addr) in ContainsLoadAddress()
121 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
H A DAddress.cpp361 bool Address::SetCallableLoadAddress(lldb::addr_t load_addr, Target *target) { in SetCallableLoadAddress() argument
362 if (SetLoadAddress(load_addr, target)) { in SetCallableLoadAddress()
381 bool Address::SetOpcodeLoadAddress(lldb::addr_t load_addr, Target *target, in SetOpcodeLoadAddress() argument
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()
781 addr_t load_addr = GetLoadAddress(target); in Dump() local
782 if (load_addr != LLDB_INVALID_ADDRESS) { in Dump()
[all …]
H A DValueObjectMemory.cpp197 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local
198 if (load_addr != LLDB_INVALID_ADDRESS) { in UpdateValue()
200 m_value.GetScalar() = load_addr; in UpdateValue()
/src/contrib/llvm-project/lldb/source/API/
H A DSBAddress.cpp43 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 DSBMemoryRegionInfo.cpp167 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()
/src/contrib/llvm-project/lldb/include/lldb/Target/
H A DSectionLoadList.h43 bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr,
47 lldb::addr_t load_addr,
54 lldb::addr_t load_addr);
H A DSectionLoadHistory.h47 bool ResolveLoadAddress(uint32_t stop_id, lldb::addr_t load_addr,
52 lldb::addr_t load_addr,
59 lldb::addr_t load_addr);
/src/contrib/llvm-project/lldb/bindings/interface/
H A DSBAddressExtensions.i21 def __set_load_addr_property__ (self, load_addr):
25 return self.SetLoadAddress (load_addr, target)
52load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write p…
/src/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp345 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 …]
/src/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp246 static const u8 *getShadowPtrForLoad(const u8 *load_addr, uptr n) { in getShadowPtrForLoad() argument
247 const u8 *const shadow_type = GetShadowTypeAddrFor(load_addr); in getShadowPtrForLoad()
257 if (!IsZero<sizeof(FT)>(load_addr)) { in getShadowPtrForLoad()
269 return GetShadowAddrFor(load_addr); in getShadowPtrForLoad()
273 __nsan_get_shadow_ptr_for_float_load(const u8 *load_addr, uptr n) { in __nsan_get_shadow_ptr_for_float_load() argument
274 return getShadowPtrForLoad<float>(load_addr, n); in __nsan_get_shadow_ptr_for_float_load()
278 __nsan_get_shadow_ptr_for_double_load(const u8 *load_addr, uptr n) { in __nsan_get_shadow_ptr_for_double_load() argument
279 return getShadowPtrForLoad<double>(load_addr, n); in __nsan_get_shadow_ptr_for_double_load()
283 __nsan_get_shadow_ptr_for_longdouble_load(const u8 *load_addr, uptr n) { in __nsan_get_shadow_ptr_for_longdouble_load() argument
284 return getShadowPtrForLoad<long double>(load_addr, n); in __nsan_get_shadow_ptr_for_longdouble_load()
/src/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp286 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()
/src/contrib/llvm-project/lldb/source/Plugins/Architecture/Arm/
H A DArchitectureArm.h26 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
29 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/src/contrib/llvm-project/lldb/source/Plugins/Architecture/Mips/
H A DArchitectureMips.h30 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
33 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/src/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddress.h416 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);
/src/contrib/llvm-project/lldb/include/lldb/API/
H A DSBAddress.h26 SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target);
48 void SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target);
/src/sbin/pfctl/
H A Dpfctl_table.c60 static int load_addr(struct pfr_buffer *, int, char *[], char *, int, int);
203 if (load_addr(&b, argc, argv, file, 0, opts)) in pfctl_table()
219 if (load_addr(&b, argc, argv, file, 0, opts)) in pfctl_table()
234 if (load_addr(&b, argc, argv, file, 0, opts)) in pfctl_table()
350 if (load_addr(&b, argc, argv, file, 1, opts)) in pfctl_table()
377 if (load_addr(&b, argc, argv, file, 0, opts)) in pfctl_table()
461 load_addr(struct pfr_buffer *b, int argc, char *argv[], char *file, in load_addr() function
/src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleSaver.cpp264 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()
/src/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDWARFExpressionList.h69 lldb::addr_t load_addr) const;
75 lldb::addr_t load_addr = 0);
/src/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h57 Status GetMemoryRegionInfo(lldb::addr_t load_addr,
83 lldb::addr_t &load_addr) override;
H A DNativeProcessNetBSD.cpp619 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()

123