Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DProcessDebugger.cpp277 vm_addr); in ReadMemory()
280 void *addr = reinterpret_cast<void *>(vm_addr); in ReadMemory()
299 vm_addr); in WriteMemory()
309 void *addr = reinterpret_cast<void *>(vm_addr); in WriteMemory()
398 LLDB_LOG(log, "getting info for address {0:x}", vm_addr); in GetMemoryRegionInfo()
400 void *addr = reinterpret_cast<void *>(vm_addr); in GetMemoryRegionInfo()
409 info.GetRange().SetRangeBase(vm_addr); in GetMemoryRegionInfo()
421 error, vm_addr); in GetMemoryRegionInfo()
454 DWORD page_offset = vm_addr % data.dwPageSize; in GetMemoryRegionInfo()
455 info.GetRange().SetRangeBase(vm_addr); in GetMemoryRegionInfo()
[all …]
H A DProcessWindows.h73 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
75 size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
106 Status DoGetMemoryRegionInfo(lldb::addr_t vm_addr,
H A DProcessWindows.cpp584 size_t ProcessWindows::DoReadMemory(lldb::addr_t vm_addr, void *buf, in DoReadMemory() argument
587 error = ProcessDebugger::ReadMemory(vm_addr, buf, size, bytes_read); in DoReadMemory()
591 size_t ProcessWindows::DoWriteMemory(lldb::addr_t vm_addr, const void *buf, in DoWriteMemory() argument
594 error = ProcessDebugger::WriteMemory(vm_addr, buf, size, bytes_written); in DoWriteMemory()
600 lldb::addr_t vm_addr = LLDB_INVALID_ADDRESS; in DoAllocateMemory() local
601 error = ProcessDebugger::AllocateMemory(size, permissions, vm_addr); in DoAllocateMemory()
602 return vm_addr; in DoAllocateMemory()
609 Status ProcessWindows::DoGetMemoryRegionInfo(lldb::addr_t vm_addr, in DoGetMemoryRegionInfo() argument
611 return ProcessDebugger::GetMemoryRegionInfo(vm_addr, info); in DoGetMemoryRegionInfo()
/openbsd/gnu/llvm/lldb/source/API/
H A DSBBreakpoint.cpp129 SBBreakpointLocation SBBreakpoint::FindLocationByAddress(addr_t vm_addr) { in FindLocationByAddress() argument
130 LLDB_INSTRUMENT_VA(this, vm_addr); in FindLocationByAddress()
136 if (vm_addr != LLDB_INVALID_ADDRESS) { in FindLocationByAddress()
141 if (!target.GetSectionLoadList().ResolveLoadAddress(vm_addr, address)) { in FindLocationByAddress()
142 address.SetRawAddress(vm_addr); in FindLocationByAddress()
150 break_id_t SBBreakpoint::FindLocationIDByAddress(addr_t vm_addr) { in FindLocationIDByAddress() argument
151 LLDB_INSTRUMENT_VA(this, vm_addr); in FindLocationIDByAddress()
156 if (bkpt_sp && vm_addr != LLDB_INVALID_ADDRESS) { in FindLocationIDByAddress()
161 if (!target.GetSectionLoadList().ResolveLoadAddress(vm_addr, address)) { in FindLocationIDByAddress()
162 address.SetRawAddress(vm_addr); in FindLocationIDByAddress()
H A DSBModule.cpp213 SBAddress SBModule::ResolveFileAddress(lldb::addr_t vm_addr) { in ResolveFileAddress() argument
214 LLDB_INSTRUMENT_VA(this, vm_addr); in ResolveFileAddress()
220 if (module_sp->ResolveFileAddress(vm_addr, addr)) in ResolveFileAddress()
H A DSBTarget.cpp582 lldb::SBAddress SBTarget::ResolveLoadAddress(lldb::addr_t vm_addr) { in ResolveLoadAddress() argument
583 LLDB_INSTRUMENT_VA(this, vm_addr); in ResolveLoadAddress()
590 if (target_sp->ResolveLoadAddress(vm_addr, addr)) in ResolveLoadAddress()
596 addr.SetRawAddress(vm_addr); in ResolveLoadAddress()
617 lldb::addr_t vm_addr) { in ResolvePastLoadAddress() argument
618 LLDB_INSTRUMENT_VA(this, stop_id, vm_addr); in ResolvePastLoadAddress()
625 if (target_sp->ResolveLoadAddress(vm_addr, addr)) in ResolvePastLoadAddress()
631 addr.SetRawAddress(vm_addr); in ResolvePastLoadAddress()
/openbsd/gnu/llvm/lldb/source/Core/
H A DSection.cpp260 bool Section::ContainsFileAddress(addr_t vm_addr) const { in ContainsFileAddress()
263 if (file_addr <= vm_addr) { in ContainsFileAddress()
264 const addr_t offset = (vm_addr - file_addr) * m_target_byte_size; in ContainsFileAddress()
605 SectionSP SectionList::FindSectionContainingFileAddress(addr_t vm_addr, in FindSectionContainingFileAddress() argument
613 if (sect->ContainsFileAddress(vm_addr)) { in FindSectionContainingFileAddress()
619 vm_addr, depth - 1); in FindSectionContainingFileAddress()
H A DModuleList.cpp667 bool ModuleList::ResolveFileAddress(lldb::addr_t vm_addr, in ResolveFileAddress() argument
671 if (module_sp->ResolveFileAddress(vm_addr, so_addr)) in ResolveFileAddress()
H A DModule.cpp440 bool Module::ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) { in ResolveFileAddress() argument
444 return so_addr.ResolveAddressUsingFileSections(vm_addr, section_list); in ResolveFileAddress()
/openbsd/gnu/llvm/lldb/include/lldb/API/
H A DSBBreakpoint.h47 lldb::SBBreakpointLocation FindLocationByAddress(lldb::addr_t vm_addr);
49 lldb::break_id_t FindLocationIDByAddress(lldb::addr_t vm_addr);
H A DSBModule.h115 lldb::SBAddress ResolveFileAddress(lldb::addr_t vm_addr);
H A DSBTarget.h500 lldb::SBAddress ResolveLoadAddress(lldb::addr_t vm_addr);
523 lldb::addr_t vm_addr);
/openbsd/gnu/llvm/lldb/include/lldb/Target/
H A DProcess.h1470 virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
1501 size_t ReadMemoryFromInferior(lldb::addr_t vm_addr, void *buf, size_t size,
1511 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, char *cstr,
1514 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, std::string &out_str,
1549 lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
1551 bool WritePointerToMemory(lldb::addr_t vm_addr, lldb::addr_t ptr_value,
1572 virtual size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, in DoWriteMemory() argument
1608 size_t WriteScalarToMemory(lldb::addr_t vm_addr, const Scalar &scalar,
1639 size_t WriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
2641 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
/openbsd/gnu/llvm/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp304 addr_t vm_addr = file_offset; in CreateSections() local
315 vm_addr = 0; in CreateSections()
323 vm_addr = 0; in CreateSections()
334 vm_addr, // VM address. in CreateSections()
/openbsd/gnu/llvm/lldb/bindings/interface/
H A DSBBreakpoint.i107 FindLocationByAddress (lldb::addr_t vm_addr);
110 FindLocationIDByAddress (lldb::addr_t vm_addr);
H A DSBTarget.i519 ResolveLoadAddress (lldb::addr_t vm_addr);
522 ResolvePastLoadAddress (uint32_t stop_id, lldb::addr_t vm_addr);
H A DSBModule.i201 ResolveFileAddress (lldb::addr_t vm_addr);
/openbsd/gnu/llvm/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp187 addr_t vm_addr = 0; in CreateMemoryRegions() local
196 if (vm_addr > section_vm_addr) in CreateMemoryRegions()
198 vm_addr = section->GetFileAddress(); in CreateMemoryRegions()
/openbsd/gnu/llvm/lldb/include/lldb/Core/
H A DModule.h682 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr);
1141 uint32_t ResolveSymbolContextForAddress(lldb::addr_t vm_addr,
H A DSection.h130 bool ContainsFileAddress(lldb::addr_t vm_addr) const;
H A DModuleList.h415 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) const;
/openbsd/gnu/llvm/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp184 lldb::addr_t vm_addr = 0; in DoLoadCore() local
202 if (vm_addr > last_addr) in DoLoadCore()
204 vm_addr = last_addr; in DoLoadCore()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp1293 auto vm_addr = pub_sym_up->getVirtualAddress(); in CacheFunctionNames() local
1296 if (vm_addr && addr_ids.find(vm_addr) != addr_ids.end()) { in CacheFunctionNames()
1298 m_func_full_names.Append(ConstString(name), addr_ids[vm_addr]); in CacheFunctionNames()
/openbsd/gnu/llvm/lldb/source/Target/
H A DProcess.cpp2067 uint64_t Process::ReadUnsignedIntegerFromMemory(lldb::addr_t vm_addr, in ReadUnsignedIntegerFromMemory() argument
2072 if (ReadScalarIntegerFromMemory(vm_addr, integer_byte_size, false, scalar, in ReadUnsignedIntegerFromMemory()
2078 int64_t Process::ReadSignedIntegerFromMemory(lldb::addr_t vm_addr, in ReadSignedIntegerFromMemory() argument
2083 if (ReadScalarIntegerFromMemory(vm_addr, integer_byte_size, true, scalar, in ReadSignedIntegerFromMemory()
2089 addr_t Process::ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error) { in ReadPointerFromMemory() argument
2091 if (ReadScalarIntegerFromMemory(vm_addr, GetAddressByteSize(), false, scalar, in ReadPointerFromMemory()
2097 bool Process::WritePointerToMemory(lldb::addr_t vm_addr, lldb::addr_t ptr_value, in WritePointerToMemory() argument
2105 return WriteScalarToMemory(vm_addr, scalar, addr_byte_size, error) == in WritePointerToMemory()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dcollect2.c3381 && addr >= region_ptr->regc_addr.vm_addr
3382 && addr <= region_ptr->regc_addr.vm_addr + region_ptr->regc_vm_size)
3385 ptr->func.fntc_entry_loc[0].adr_sctoff = addr - region_ptr->regc_addr.vm_addr;