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.1.tar.gz
md5=fdee20e988343751de440b4f6b67c0f4
sha512=f5cbf1328785d3f5ce40155dada2d95e5de5cce4f084ea30cfb04d1ab10cc9403a26cfb3fa55d0f9da72244482130fdb89c286a9aed0d640bba46b7c00e09500

doc/hooks/Hooks/Constant_widening_thresholds/index.html

Module Hooks.Constant_widening_thresholdsSource

Hook to collect widening thresholds.

The heuristic is simple: the hook tracks all comparisons between a numeric variable and a constant. It then adds the constant to the context of thresholds associated to the variable.

For better precision, a simple constant folding pass is performed on expressions. It replaces variables evaluated to singleton intervals with constants.

For better performances, only comparisons in loops are considered.

Sourcemodule Hook : sig ... end
OCaml

Innovation. Community. Security.