Core.HookSourceHooks are modules that can observe the execution of the transfer functions without modifying their output. They can be used however to enrich the analysis by adding information to the context.
Signature of a stateless hook
Register a new stateless hook
Activate a registered hook
Check whether a hook exits
Deactivate an active hook
Initialize hooks manager
Initialize an active hook
Check wether a hook is active
Initialize all active hooks
val on_before_exec :
Route.route ->
Ast.Stmt.stmt ->
('a, 'a) Manager.man ->
'a Flow.flow ->
'a Context.ctx optionCall on_before_exec on all active hooks
val on_after_exec :
Route.route ->
Ast.Stmt.stmt ->
('a, 'a) Manager.man ->
'a Flow.flow ->
'a Post.post ->
'a Context.ctx optionCall on_after_exec on all active hooks
val on_before_eval :
Route.route ->
Ast.Semantic.semantic ->
Ast.Expr.expr ->
('a, 'a) Manager.man ->
'a Flow.flow ->
'a Context.ctx optionCall on_before_eval on all active hooks
val on_after_eval :
Route.route ->
Ast.Semantic.semantic ->
Ast.Expr.expr ->
('a, 'a) Manager.man ->
'a Flow.flow ->
'a Eval.eval ->
'a Context.ctx optionCall on_after_eval on all active hooks
Call on_finish on all active hooks