Goblint_lib.Transform
Signatures and registry for transformations.
module M = Messages
type queries = {
ask : ?node:Node.t -> GoblintCil.Cil.location -> Queries.ask;
must_be_dead : Node.t -> bool;
must_be_uncalled : GoblintCil.fundec -> bool;
cfg_forward : MyCFG.cfg;
cfg_backward : MyCFG.cfg;
skipped_statements : Node.t -> MyCFG.edges -> Node.t -> GoblintCil.stmt list;
}
data about analysis available to queries
module type S = sig ... end
val h : (string, (module S)) Stdlib.Hashtbl.t
val register : (module S) -> unit
val run_transformations :
?file_output:bool ->
GoblintCil.file ->
string list ->
queries ->
unit
val run : GoblintCil.file -> string -> queries -> unit
module PartialEval : sig ... end