Skip to main content

Module crash_handler

Module crash_handler 

Source
Expand description

Crash Handler Module

This module provides crash detection and detailed crash reporting functionality. It installs signal handlers for common crash signals only if no existing handlers are present, and generates comprehensive crash reports including the current call stack.

Structs§

CrashInfo
Crash information structure
StackFrame
Stack frame information

Functions§

cleanup_crash_handler
Cleanup crash handler (restore original handlers)
init_crash_handler
Initialize crash handler
is_crash_handler_enabled
Check if crash handler is enabled
reinforce_crash_handlers
Reinforce crash handlers (reinstall to override any handlers set after initialization)