A class used to contain mode specific function definitions Specifically, the event handlers this client must used. More...
#include <dr_shadow_stack_client.hpp>
Public Member Functions | |
SSHandlers ()=delete | |
Delete default constructor. More... | |
SSHandlers (const on_call_signature c, const on_ret_signature r, const on_signal_signature s) | |
Constructor. More... | |
bool | is_valid () const |
Returns true if all function pointers are non-null. More... | |
Public Attributes | |
const on_call_signature | on_call |
The 'on call' handler. More... | |
const on_ret_signature | on_ret |
The 'on ret' handler. More... | |
const on_signal_signature | on_signal |
The function called whenever a signal is caught. More... | |
Private Types | |
typedef void(*const | on_call_signature )(const app_pc ret_to_addr) |
The type 'on call' funciton signature. More... | |
typedef void(*const | on_ret_signature )(const app_pc instr_addr, const app_pc target_addr) |
The type 'on ret' funciton signature. More... | |
typedef void(*const | on_signal_signature )() |
The type 'on signal' funciton signature. More... | |
A class used to contain mode specific function definitions Specifically, the event handlers this client must used.
|
private |
The type 'on call' funciton signature.
|
private |
The type 'on ret' funciton signature.
|
private |
The type 'on signal' funciton signature.
|
delete |
Delete default constructor.
SSHandlers::SSHandlers | ( | const on_call_signature | c, |
const on_ret_signature | r, | ||
const on_signal_signature | s | ||
) |
Constructor.
bool SSHandlers::is_valid | ( | ) | const |
Returns true if all function pointers are non-null.
const on_call_signature SSHandlers::on_call |
The 'on call' handler.
const on_ret_signature SSHandlers::on_ret |
The 'on ret' handler.
const on_signal_signature SSHandlers::on_signal |
The function called whenever a signal is caught.