| Index: snapshot/win/process_reader_win.h
|
| diff --git a/snapshot/win/process_reader_win.h b/snapshot/win/process_reader_win.h
|
| index 285fb7f03f8b55a2a6e1940509d571f7cdc40f10..90a115d540ac92a2634464eadc4c0bfe015690e0 100644
|
| --- a/snapshot/win/process_reader_win.h
|
| +++ b/snapshot/win/process_reader_win.h
|
| @@ -83,8 +83,26 @@ class ProcessReaderWin {
|
| //! \return `true` if the target task is a 64-bit process.
|
| bool Is64Bit() const { return process_info_.Is64Bit(); }
|
|
|
| + //! \brief Attempts to read \a num_bytes bytes from the target process
|
| + //! starting at address \a at into \a into.
|
| + //!
|
| + //! \return `true` if the entire region could be read, or `false` with an
|
| + //! error logged.
|
| + //!
|
| + //! \sa ReadAvailableMemory
|
| bool ReadMemory(WinVMAddress at, WinVMSize num_bytes, void* into) const;
|
|
|
| + //! \brief Attempts to read \a num_bytes bytes from the target process
|
| + //! starting at address \a at into \a into. If some of the specified range
|
| + //! is not accessible, reads up to the first inaccessible byte.
|
| + //!
|
| + //! \return The actual number of bytes read.
|
| + //!
|
| + //! \sa ReadMemory
|
| + WinVMSize ReadAvailableMemory(WinVMAddress at,
|
| + WinVMSize num_bytes,
|
| + void* into) const;
|
| +
|
| //! \brief Determines the target process' start time.
|
| //!
|
| //! \param[out] start_time The time that the process started.
|
|
|