package mopsa

  1. Overview
  2. Docs
MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.2.tar.gz
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa

doc/mopsa.mopsa_analyzer/Mopsa_analyzer/Languages/Universal/Lang/Frontend/index.html

Module Lang.Frontend

Universal frontend translates the parser's AST into Framework's AST.

module NameG : sig ... end
module T = Ast
type var_context = (int * MopsaLib.typ) MS.t
type fun_context = T.fundec MS.t
val builtin_functions : Ast.fun_builtin list
type uvar = {
  1. uvar_range : MopsaLib.range;
  2. uvar_uid : int;
  3. uvar_orig_name : string;
  4. uvar_uniq_name : string;
}
type MopsaLib.var_kind +=
  1. | V_uvar of uvar
val from_var : string -> U.extent -> var_context -> MopsaLib.var
val unify_typ : MopsaLib.typ -> MopsaLib.typ -> MopsaLib.typ
val from_expr : U.expr -> U.extent -> var_context -> fun_context option -> MopsaLib.expr
val from_stmt : U.stat -> U.extent -> var_context -> fun_context option -> MopsaLib.stmt
val check_declaration_list : U.declaration U.ext list -> unit
val aux : U.declaration U.ext -> U.declaration U.ext list -> unit
val var_ctx_of_declaration : Mopsa_universal_parser.U_ast.declaration U.ext list -> var_context -> (int * MopsaLib.typ) MS.t * MopsaLib.var list
val var_ctx_init_of_declaration : Mopsa_universal_parser.U_ast.declaration U.ext list -> var_context -> fun_context option -> (int * MopsaLib.typ) MS.t option -> (int * MopsaLib.typ) MS.t * MopsaLib.stmt list * MopsaLib.var list
val var_ctx_of_function : var_context -> U.fundec -> (int * MopsaLib.typ) MS.t
val var_init_of_function : var_context -> (int * MopsaLib.typ) MS.t MS.t -> fun_context -> U.fundec -> (int * MopsaLib.typ) MS.t * MopsaLib.stmt list
val from_fundec : U.fundec -> var_context -> T.fundec
val add_body : fun_context -> string -> MopsaLib.stmt -> unit
val parse_program : string list -> MopsaLib.program
OCaml

Innovation. Community. Security.