Module Whilelib.While_analysis
This module presents the implementation of a simple example analyzer for the while language using codex constructs. It is detailed in the While tutorial's chapter4.
module Log : Tracelog.Smodule Terms : sig ... endmodule NonRelationalDomain : sig ... endmodule Domain : sig ... endmodule Var = While_ast.Varmodule Store = Analysis_sva.Stateval store_pp :
Domain.Context.t ->
Stdlib.Format.formatter ->
Domain.integer Analysis_sva.State.t ->
unitval initial_state : unit -> stateval pp : Stdlib.Format.formatter -> state -> unitval serialize :
widens:bool ->
state ->
state ->
(Domain.integer Store.t, Domain.Context.empty_tuple) Domain.Context.resultval aexp : state -> While_ast.aexp -> Domain.integerval bexp : state -> While_ast.bexp -> Domain.booleanval pp_ret : Stdlib.Format.formatter -> state option -> unitval analyze_stmt : state option -> While_ast.stmt -> state option