Frama-C API - Signal
Signal emission
Mark the analysis as aborted: it will be stopped at the next safe point.
Mark the analysis as killed: it will be stopped at the next safe point.
Remove any previous mark from abort or kill if present.
Signal check
Check for emitted signal.
System signal
val setup : unit -> unit -> unitSetup system signals:
- On
SIGUSR1, kill () is issued - On
SIGINT, Sys.break is raised.
Signal catching
val protect : (unit -> 'a) -> cleanup:(unit -> unit) -> 'aprotect f ~cleanup runs f. On a user interruption or a Frama-C error, if option -save is set, applies cleanup. This is used to clean up and save partial results when the analysis is aborted.