Non-templated internal class to be used by ScopedVMMap. More...
#include "util/ios/scoped_vm_map.h"
Public Member Functions | |
| ScopedVMMapInternal (const ScopedVMMapInternal &)=delete | |
| ScopedVMMapInternal & | operator= (const ScopedVMMapInternal &)=delete |
| bool | Map (const void *data, size_t data_length) |
| Releases any previously mapped data and vm_remaps data. Logs an error on failure. | |
| vm_prot_t | CurrentProtection () const |
| Returns the current protection for the memory in the region. | |
| vm_address_t | data () const |
Non-templated internal class to be used by ScopedVMMap.
Note: RUNS-DURING-CRASH.
| bool crashpad::internal::ScopedVMMapInternal::Map | ( | const void * | data, |
| size_t | data_length ) |
Releases any previously mapped data and vm_remaps data. Logs an error on failure.
| [in] | data | Memory to be mapped by vm_remap. |
| [in] | data_length | Length of data. |
true if all the data was mapped. Logs an error and returns false on failure.