Module imp
Functions
- current_guard
-
drop_handler
Safety
Must only be called with a pointer returned by
make_handler, and only once perHandler. - get_stack
- get_stack_start
-
init
Safety
Must be called only once, on the main thread, during program startup.
-
install_main_guard
Safety
This function must only be called from the main thread, and there must be sufficient stack space remaining to place a stack guard.
- install_main_guard_bsds
-
install_main_guard_default
Safety
This function must only be called from the main thread, and there must be sufficient stack space remaining to place a stack guard.
- install_main_guard_linux
- install_main_guard_linux_musl
- make_handler
- signal_handler Signal handler for the SIGSEGV and SIGBUS handlers.
- sigstack_size Modern kernels on modern hardware can have dynamic signal stack sizes.
- stack_start_aligned