Crashpad
|
A RAII object that allocates a read-write page with an inacessible page following it. More...
#include "test/scoped_guarded_page.h"
Public Member Functions | |
void * | Pointer () const |
Returns the address of the read-write page. More... | |
A RAII object that allocates a read-write page with an inacessible page following it.
Upon construction, a mapping will be created. Failure to create the mapping is fatal. On destruction, the mapping is freed.
This object should not be used in multi-threded contexts, the POSIX implementation can not be made thread-safe.
|
inline |
Returns the address of the read-write page.