Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DProcessDebugger.cpp262 Status ProcessDebugger::ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in ReadMemory() argument
277 vm_addr); in ReadMemory()
280 void *addr = reinterpret_cast<void *>(vm_addr); in ReadMemory()
296 Status ProcessDebugger::WriteMemory(lldb::addr_t vm_addr, const void *buf, in WriteMemory() argument
303 vm_addr); in WriteMemory()
313 void *addr = reinterpret_cast<void *>(vm_addr); in WriteMemory()
355 Status ProcessDebugger::DeallocateMemory(lldb::addr_t vm_addr) { in DeallocateMemory() argument
360 LLDB_LOG(log, "attempting to deallocate bytes at address {0}", vm_addr); in DeallocateMemory()
371 if (!::VirtualFreeEx(handle, reinterpret_cast<LPVOID>(vm_addr), 0, in DeallocateMemory()
380 Status ProcessDebugger::GetMemoryRegionInfo(lldb::addr_t vm_addr, in GetMemoryRegionInfo() argument
[all …]
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,
83 Status GetMemoryRegionInfo(lldb::addr_t vm_addr,
DProcessWindows.cpp571 size_t ProcessWindows::DoReadMemory(lldb::addr_t vm_addr, void *buf, in DoReadMemory() argument
574 error = ProcessDebugger::ReadMemory(vm_addr, buf, size, bytes_read); in DoReadMemory()
578 size_t ProcessWindows::DoWriteMemory(lldb::addr_t vm_addr, const void *buf, in DoWriteMemory() argument
581 error = ProcessDebugger::WriteMemory(vm_addr, buf, size, bytes_written); in DoWriteMemory()
587 lldb::addr_t vm_addr = LLDB_INVALID_ADDRESS; in DoAllocateMemory() local
588 error = ProcessDebugger::AllocateMemory(size, permissions, vm_addr); in DoAllocateMemory()
589 return vm_addr; in DoAllocateMemory()
596 Status ProcessWindows::GetMemoryRegionInfo(lldb::addr_t vm_addr, in GetMemoryRegionInfo() argument
598 return ProcessDebugger::GetMemoryRegionInfo(vm_addr, info); in GetMemoryRegionInfo()
/external/llvm-project/lldb/source/Core/
DSection.cpp274 bool Section::ContainsFileAddress(addr_t vm_addr) const { in ContainsFileAddress()
277 if (file_addr <= vm_addr) { in ContainsFileAddress()
278 const addr_t offset = (vm_addr - file_addr) * m_target_byte_size; in ContainsFileAddress()
543 SectionSP SectionList::FindSectionContainingFileAddress(addr_t vm_addr, in FindSectionContainingFileAddress() argument
551 if (sect->ContainsFileAddress(vm_addr)) { in FindSectionContainingFileAddress()
557 vm_addr, depth - 1); in FindSectionContainingFileAddress()
/external/llvm-project/lldb/source/API/
DSBBreakpoint.cpp132 SBBreakpointLocation SBBreakpoint::FindLocationByAddress(addr_t vm_addr) { in FindLocationByAddress() argument
134 FindLocationByAddress, (lldb::addr_t), vm_addr); in FindLocationByAddress()
140 if (vm_addr != LLDB_INVALID_ADDRESS) { in FindLocationByAddress()
145 if (!target.GetSectionLoadList().ResolveLoadAddress(vm_addr, address)) { in FindLocationByAddress()
146 address.SetRawAddress(vm_addr); in FindLocationByAddress()
154 break_id_t SBBreakpoint::FindLocationIDByAddress(addr_t vm_addr) { in FindLocationIDByAddress() argument
156 (lldb::addr_t), vm_addr); in FindLocationIDByAddress()
161 if (bkpt_sp && vm_addr != LLDB_INVALID_ADDRESS) { in FindLocationIDByAddress()
166 if (!target.GetSectionLoadList().ResolveLoadAddress(vm_addr, address)) { in FindLocationIDByAddress()
167 address.SetRawAddress(vm_addr); in FindLocationIDByAddress()
DSBModule.cpp210 SBAddress SBModule::ResolveFileAddress(lldb::addr_t vm_addr) { in ResolveFileAddress() argument
212 (lldb::addr_t), vm_addr); in ResolveFileAddress()
218 if (module_sp->ResolveFileAddress(vm_addr, addr)) in ResolveFileAddress()
/external/llvm-project/lldb/include/lldb/API/
DSBBreakpoint.h47 lldb::SBBreakpointLocation FindLocationByAddress(lldb::addr_t vm_addr);
49 lldb::break_id_t FindLocationIDByAddress(lldb::addr_t vm_addr);
DSBModule.h113 lldb::SBAddress ResolveFileAddress(lldb::addr_t vm_addr);
DSBTarget.h493 lldb::SBAddress ResolveLoadAddress(lldb::addr_t vm_addr);
516 lldb::addr_t vm_addr);
/external/llvm-project/lldb/include/lldb/Target/
DProcess.h1443 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
1478 virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
1509 size_t ReadMemoryFromInferior(lldb::addr_t vm_addr, void *buf, size_t size,
1539 size_t ReadStringFromMemory(lldb::addr_t vm_addr, char *str, size_t max_bytes,
1549 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, char *cstr,
1552 size_t ReadCStringFromMemory(lldb::addr_t vm_addr, std::string &out_str,
1587 lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
1589 bool WritePointerToMemory(lldb::addr_t vm_addr, lldb::addr_t ptr_value,
1610 virtual size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, in DoWriteMemory() argument
1647 size_t WriteScalarToMemory(lldb::addr_t vm_addr, const Scalar &scalar,
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
DObjectFileWasm.cpp270 addr_t vm_addr = file_offset; in CreateSections() local
281 vm_addr = 0; in CreateSections()
311 vm_addr = 0; in CreateSections()
322 vm_addr, // VM address. in CreateSections()
/external/llvm-project/lldb/bindings/interface/
DSBBreakpoint.i107 FindLocationByAddress (lldb::addr_t vm_addr);
110 FindLocationIDByAddress (lldb::addr_t vm_addr);
DSBTarget.i531 ResolveLoadAddress (lldb::addr_t vm_addr);
534 ResolvePastLoadAddress (uint32_t stop_id, lldb::addr_t vm_addr);
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp142 static size_t DoReadMemory(lldb::pid_t pid, lldb::addr_t vm_addr, void *buf, in DoReadMemory() argument
147 pi_desc.piod_offs = (void *)vm_addr; in DoReadMemory()
158 static size_t DoWriteMemory(lldb::pid_t pid, lldb::addr_t vm_addr, in DoWriteMemory() argument
163 pi_desc.piod_offs = (void *)vm_addr; in DoWriteMemory()
1207 size_t ProcessMonitor::ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in ReadMemory() argument
1210 ReadOperation op(vm_addr, buf, size, error, result); in ReadMemory()
1215 size_t ProcessMonitor::WriteMemory(lldb::addr_t vm_addr, const void *buf, in WriteMemory() argument
1218 WriteOperation op(vm_addr, buf, size, error, result); in WriteMemory()
DProcessMonitor.h83 size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
90 size_t WriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
DProcessFreeBSD.h88 size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
91 size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
DProcessFreeBSD.cpp582 size_t ProcessFreeBSD::DoReadMemory(addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
585 return m_monitor->ReadMemory(vm_addr, buf, size, error); in DoReadMemory()
588 size_t ProcessFreeBSD::DoWriteMemory(addr_t vm_addr, const void *buf, in DoWriteMemory() argument
591 return m_monitor->WriteMemory(vm_addr, buf, size, error); in DoWriteMemory()
/external/llvm-project/lldb/unittests/Target/
DExecutionContextTest.cpp57 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/external/llvm-project/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp234 addr_t vm_addr = 0; in DoLoadCore() local
243 if (vm_addr > section_vm_addr) in DoLoadCore()
245 vm_addr = section->GetFileAddress(); in DoLoadCore()
/external/llvm-project/lldb/include/lldb/Core/
DModule.h649 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr);
1026 uint32_t ResolveSymbolContextForAddress(lldb::addr_t vm_addr,
DSection.h124 bool ContainsFileAddress(lldb::addr_t vm_addr) const;
DModuleList.h417 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) const;
/external/llvm-project/lldb/unittests/Thread/
DThreadTest.cpp50 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/external/llvm-project/lldb/unittests/Process/
DProcessEventDataTest.cpp52 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp176 lldb::addr_t vm_addr = 0; in DoLoadCore() local
191 if (vm_addr > last_addr) in DoLoadCore()
193 vm_addr = last_addr; in DoLoadCore()

12