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/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.