◆ CaptureMemoryDelegateWin()
A MemoryCaptureDelegate for Windows.
- Parameters
-
[in] | process_reader | A ProcessReaderWin for the target process. |
[in] | thread | The thread being inspected. Memory ranges overlapping this thread's stack will be ignored on the assumption that they're already captured elsewhere. |
[in] | snapshots | A vector of MemorySnapshotGeneric to which the captured memory will be added. |
[in] | budget_remaining | If non-null, a pointer to the remaining number of bytes to capture. If this is 0 , no further memory will be captured. |
◆ GetReadableRanges()
std::vector< CheckedRange< uint64_t > > crashpad::internal::CaptureMemoryDelegateWin::GetReadableRanges |
( |
const CheckedRange< uint64_t, uint64_t > & |
range | ) |
const |
|
overridevirtual |
Given a range to be read from the target process, returns a vector of ranges, representing the readable portions of the original range.
- Parameters
-
[in] | range | The range being identified. |
- Returns
- A vector of ranges corresponding to the portion of range that is readable.
Implements crashpad::internal::CaptureMemory::Delegate.
◆ Is64Bit()
bool crashpad::internal::CaptureMemoryDelegateWin::Is64Bit |
( |
| ) |
const |
|
overridevirtual |
◆ ReadMemory()
bool crashpad::internal::CaptureMemoryDelegateWin::ReadMemory |
( |
uint64_t |
at, |
|
|
uint64_t |
num_bytes, |
|
|
void * |
into |
|
) |
| const |
|
overridevirtual |
Attempts to read num_bytes bytes from the target process starting at address at into into.
- Returns
true
if the entire region could be read, or false
with an error logged.
Implements crashpad::internal::CaptureMemory::Delegate.
The documentation for this class was generated from the following files:
- snapshot/win/capture_memory_delegate_win.h
- snapshot/win/capture_memory_delegate_win.cc