Module Db.Dominators


module Dominators: sig .. end
Dominators plugin.
See also internal documentation.

val compute : (Db_types.kernel_function -> unit) Pervasives.ref
exception Top
Used for stmt_postdominators when the postdominators of a statement cannot be computed. It means that there is no path from this statement to the function return.
val stmt_dominators : (Db_types.kernel_function -> Cil_types.stmt -> Cil_datatype.Stmt.Set.t)
Pervasives.ref
Raises Top (see above)
val is_dominator : (Db_types.kernel_function ->
opening:Cil_types.stmt -> closing:Cil_types.stmt -> bool)
Pervasives.ref
val display : (unit -> unit) Pervasives.ref
val print_dot : (string -> Db_types.kernel_function -> unit) Pervasives.ref
Print a representation of the postdominators in a dot file which name is basename.function_name.dot.