Non-templated internal class to be used by ScopedVMRead. More...
#include "util/ios/scoped_vm_read.h"
Public Member Functions | |
ScopedVMReadInternal (const ScopedVMReadInternal &)=delete | |
ScopedVMReadInternal & | operator= (const ScopedVMReadInternal &)=delete |
bool | Read (const void *data, size_t data_length) |
Releases any previously read data and vm_reads data. Logs an error on failure. | |
vm_address_t | data () const |
Non-templated internal class to be used by ScopedVMRead.
Note: RUNS-DURING-CRASH.
bool crashpad::internal::ScopedVMReadInternal::Read | ( | const void * | data, |
size_t | data_length ) |
Releases any previously read data and vm_reads data. Logs an error on failure.
[in] | data | Memory to be read by vm_read. |
[in] | data_length | Length of data. |
true
if all the data was read. Logs an error and returns false on failure