package mopsa

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

Install

Dune Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.0.tar.gz
md5=9f673f79708b44a7effb3b6bb3618d2c
sha512=cb91cb428e43a22f1abbcb8219710d0c10a5b3756d0da392d4084b3b3a6157350776c596983e63def344f617d39964e91f244f60c07958695ee5c8c809a9f0f4

doc/hooks/Hooks/Constant_widening_thresholds/Hook/index.html

Module Constant_widening_thresholds.HookSource

Hook header

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

Sourceval name : string
Sourceval debug : ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a

Utility functions

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

Sourceval is_interesting_condition : Mopsa.expr -> bool

A condition is interesting if it is a comparison between numeric expressions

Sourceval constant_folding : Mopsa.expr -> ('a, 'b) Mopsa.man -> 'a Core.Flow.flow -> Mopsa.ExprSet.t

Simple constant folding transformation. Variables that evaluate to singleton intervals are replaced with their value. Also, operations between constants are simplified.

module ThresholdSet : sig ... end
Sourceval find_vars_comparisons_in_expr : Ast.Expr.expr -> ThresholdSet.t

Events handlers

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

Sourceval init : 'a -> 'a
Sourceval loops : int Stdlib.ref
Sourceval on_before_exec : 'a -> Mopsa.stmt -> 'b -> 'c -> 'd option
Sourceval on_after_exec : 'a -> Mopsa.stmt -> ('b, 'c) Mopsa.man -> 'b Core.Flow.flow -> ('d, 'e) Mopsa.Cases.cases -> 'd Core.All.ctx option
Sourceval on_before_eval : 'a -> 'b -> 'c -> 'd -> 'e -> 'f option
Sourceval on_after_eval : 'a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g option
Sourceval on_finish : 'a -> 'b -> unit
OCaml

Innovation. Community. Security.