36 |
|
// Remove the user SIGSEGV handler, revert to default behavior |
37 |
|
extern void sigsegv_uninstall_handler(void); |
38 |
|
|
39 |
+ |
// Set SIGSEGV ignore state |
40 |
+ |
extern void sigsegv_set_ignore_state(bool ignore_fault); |
41 |
+ |
|
42 |
+ |
// Set callback function when we cannot handle the fault |
43 |
+ |
extern void sigsegv_set_dump_state(sigsegv_handler_t handler); |
44 |
+ |
|
45 |
|
// Define an address that is bound to be invalid for a program counter |
46 |
|
const sigsegv_address_t SIGSEGV_INVALID_PC = (sigsegv_address_t)(-1); |
47 |
|
|