package mopsa
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa
doc/mopsa.mopsa_analyzer/Mopsa_analyzer/Framework/Sig/Combiner/Stacked/CombinerToStacked/index.html
Module Stacked.CombinerToStacked
Parameters
module T : STACKED_COMBINERSignature
Domain header
*****************
type t = T.tType of an abstract elements.
val id : t Core.All.idDomain identifier
val checks : Core.All.check listList of checks performed by the domain
val bottom : tLeast abstract element of the lattice.
val top : tGreatest abstract element of the lattice.
val is_bottom : t -> boolis_bottom a tests whether a is bottom or not.
Lattice operators
*********************
val subset :
('a, t) Core.All.man ->
'a Core.All.ctx ->
(t * 'a) ->
(t * 'a) ->
bool * 'a * 'aval join :
('a, t) Core.All.man ->
'a Core.All.ctx ->
(t * 'a) ->
(t * 'a) ->
t * 'a * 'aval meet :
('a, t) Core.All.man ->
'a Core.All.ctx ->
(t * 'a) ->
(t * 'a) ->
t * 'a * 'aval widen :
('a, t) Core.All.man ->
'a Core.All.ctx ->
(t * 'a) ->
(t * 'a) ->
t * 'a * 'a * boolval merge : t -> (t * Core.All.change) -> (t * Core.All.change) -> tmerge pre (post1, change1) (post2, change2) synchronizes two divergent post-conditions post1 and post2 using a common pre-condition pre.
Diverging post-conditions emerge after a fork-join trajectory in the abstraction DAG (e.g., a reduced product).
The changes change1 and change2 represent a journal of internal statements executed during the the computation of the post-conditions over the two trajectories.
Transfer functions
**********************
val init :
Core.All.program ->
('a, t) Core.All.man ->
'a Core.All.flow ->
'a Core.All.post optionInitialization function
val exec :
Core.All.stmt ->
('a, t) Core.All.man ->
'a Core.All.flow ->
'a Core.All.post optionPost-state of statements
val eval :
Core.All.expr ->
('a, t) Core.All.man ->
'a Core.All.flow ->
'a Core.All.eval optionEvaluation of expressions
val ask :
('a, 'r) Core.All.query ->
('a, t) Core.All.man ->
'a Core.All.flow ->
('a, 'r) Core.All.cases optionHandler of queries
Printing
************
val print_state : Core.All.printer -> t -> unitPrinter of an abstract element.
val print_expr :
('a, t) Core.All.man ->
'a Core.All.flow ->
Core.All.printer ->
Core.All.expr ->
unitPrinter of an expression's value