Lines Matching defs:vm_addr
262 Status ProcessDebugger::ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
277 vm_addr);
282 void *addr = reinterpret_cast<void *>(vm_addr);
290 if (GetMemoryRegionInfo(vm_addr, info).Fail() ||
293 size = info.GetRange().GetRangeEnd() - vm_addr;
305 Status ProcessDebugger::WriteMemory(lldb::addr_t vm_addr, const void *buf,
312 vm_addr);
322 void *addr = reinterpret_cast<void *>(vm_addr);
364 Status ProcessDebugger::DeallocateMemory(lldb::addr_t vm_addr) {
369 LLDB_LOG(log, "attempting to deallocate bytes at address {0}", vm_addr);
380 if (!::VirtualFreeEx(handle, reinterpret_cast<LPVOID>(vm_addr), 0,
389 Status ProcessDebugger::GetMemoryRegionInfo(lldb::addr_t vm_addr,
411 LLDB_LOG(log, "getting info for address {0:x}", vm_addr);
413 void *addr = reinterpret_cast<void *>(vm_addr);
421 // range from the vm_addr to LLDB_INVALID_ADDRESS
422 info.GetRange().SetRangeBase(vm_addr);
434 error, vm_addr);
464 // distance from the start of the page containing vm_addr.
467 DWORD page_offset = vm_addr % data.dwPageSize;
468 info.GetRange().SetRangeBase(vm_addr);
476 vm_addr, info.GetReadable(), info.GetExecutable(),