Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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.h76 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
78 size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
107 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()
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/
H A Dlldb-minimize-processes.patch9 + size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf,
71 +size_t ProcessFreeBSDKernelFVC::DoWriteMemory(lldb::addr_t vm_addr, const void *buf,
74 + rd = fvc_write(m_fvc, vm_addr, buf, size);
75 + printf("fvc_write(%p, %p, %d) -> %d\n", vm_addr, buf, size, rd);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DProcess.h1448 virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
1479 size_t ReadMemoryFromInferior(lldb::addr_t vm_addr, void *buf, size_t size,
1489 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, char *cstr,
1492 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, std::string &out_str,
1527 lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
1529 bool WritePointerToMemory(lldb::addr_t vm_addr, lldb::addr_t ptr_value,
1550 virtual size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, in DoWriteMemory() argument
1586 size_t WriteScalarToMemory(lldb::addr_t vm_addr, const Scalar &scalar,
1617 size_t WriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
2602 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp303 addr_t vm_addr = file_offset; in CreateSections() local
314 vm_addr = 0; in CreateSections()
322 vm_addr = 0; in CreateSections()
333 vm_addr, // VM address. in CreateSections()
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/lldb/unittests/Expression/
H A DDWARFExpressionTest.cpp343 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in TEST_F()
346 ((char *)buf)[i] = (vm_addr + i) & 0xff; in TEST_F()
/llvm-project-15.0.7/lldb/unittests/Target/
H A DExecutionContextTest.cpp57 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp307 addr_t vm_addr = 0; in DoLoadCore() local
316 if (vm_addr > section_vm_addr) in DoLoadCore()
318 vm_addr = section->GetFileAddress(); in DoLoadCore()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DModule.h661 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr);
1097 uint32_t ResolveSymbolContextForAddress(lldb::addr_t vm_addr,
H A DSection.h130 bool ContainsFileAddress(lldb::addr_t vm_addr) const;
H A DModuleList.h414 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) const;
/llvm-project-15.0.7/lldb/unittests/Thread/
H A DThreadTest.cpp50 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/llvm-project-15.0.7/lldb/unittests/Process/
H A DProcessEventDataTest.cpp52 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp1288 auto vm_addr = pub_sym_up->getVirtualAddress(); in CacheFunctionNames() local
1291 if (vm_addr && addr_ids.find(vm_addr) != addr_ids.end()) { in CacheFunctionNames()
1293 m_func_full_names.Append(ConstString(name), addr_ids[vm_addr]); in CacheFunctionNames()

12