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/C/Libs/Libmopsa/Domain/index.html

Module Libmopsa.Domain

Domain identification

=====================

include sig ... end
val id : unit Mopsa_analyzer__Framework__Core__Id.id
val name : string
val debug : ('a, Format.formatter, unit, unit) format4 -> 'a
val checks : MopsaLib.check list
val is_rand_function : string -> bool
val extract_rand_type : string -> MopsaLib.typ
val is_range_function : string -> bool
val extract_range_type : string -> MopsaLib.typ

Printing of abstract values

*******************************

val exp_to_str : MopsaLib.expr -> string
val print_int_value : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the value of an integer expression

val print_float_value : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the value of a float expression

val print_pointer_value : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the value of a pointer expression

val print_array_values : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the values of an array

val print_record_values : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print fields values of a record

val print_value : MopsaLib.expr -> ?display:string -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the value of an expression

val print_values : MopsaLib.expr list -> ('a, 'b) MopsaLib.man -> Format.formatter -> 'a Core.Flow.flow -> unit

Print the values of a list of expressions

Transfer functions

val init : 'a -> 'b -> 'c -> 'd option
val exec : 'a -> 'b -> 'c -> 'd option
val eval : MopsaLib.expr -> ('a, 'b) MopsaLib.man -> 'a Core.Flow.flow -> 'a Framework.Core.Eval.eval option
val ask : 'a -> 'b -> 'c -> 'd option
val print_expr : 'a -> 'b -> 'c -> 'd -> unit