/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
D | ProcessDebugger.cpp | 262 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 …]
|
D | ProcessWindows.h | 76 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,
|
D | ProcessWindows.cpp | 571 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/ |
D | Section.cpp | 274 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/ |
D | SBBreakpoint.cpp | 132 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()
|
D | SBModule.cpp | 210 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/ |
D | SBBreakpoint.h | 47 lldb::SBBreakpointLocation FindLocationByAddress(lldb::addr_t vm_addr); 49 lldb::break_id_t FindLocationIDByAddress(lldb::addr_t vm_addr);
|
D | SBModule.h | 113 lldb::SBAddress ResolveFileAddress(lldb::addr_t vm_addr);
|
D | SBTarget.h | 493 lldb::SBAddress ResolveLoadAddress(lldb::addr_t vm_addr); 516 lldb::addr_t vm_addr);
|
/external/llvm-project/lldb/include/lldb/Target/ |
D | Process.h | 1443 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/ |
D | ObjectFileWasm.cpp | 270 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/ |
D | SBBreakpoint.i | 107 FindLocationByAddress (lldb::addr_t vm_addr); 110 FindLocationIDByAddress (lldb::addr_t vm_addr);
|
D | SBTarget.i | 531 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/ |
D | ProcessMonitor.cpp | 142 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()
|
D | ProcessMonitor.h | 83 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,
|
D | ProcessFreeBSD.h | 88 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,
|
D | ProcessFreeBSD.cpp | 582 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/ |
D | ExecutionContextTest.cpp | 57 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/ |
D | ProcessMachCore.cpp | 234 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/ |
D | Module.h | 649 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr); 1026 uint32_t ResolveSymbolContextForAddress(lldb::addr_t vm_addr,
|
D | Section.h | 124 bool ContainsFileAddress(lldb::addr_t vm_addr) const;
|
D | ModuleList.h | 417 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) const;
|
/external/llvm-project/lldb/unittests/Thread/ |
D | ThreadTest.cpp | 50 virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, in DoReadMemory() argument
|
/external/llvm-project/lldb/unittests/Process/ |
D | ProcessEventDataTest.cpp | 52 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/ |
D | ProcessElfCore.cpp | 176 lldb::addr_t vm_addr = 0; in DoLoadCore() local 191 if (vm_addr > last_addr) in DoLoadCore() 193 vm_addr = last_addr; in DoLoadCore()
|