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/Memory/Pointer_sentinel/index.html

Module Memory.Pointer_sentinel

Abstraction of pointer arrays by segmentation using a NULL/INVALID sentinel.

This abstract domain divides an array of pointers into three segments:

+-------------------+-+-------------+ | before |S| after | +-------------------+-+-------------+

  • The segment "before" represents pointers before the sentinel. All these pointers are different than NULL. The domains maintains a smash variable "before-sentinel" for approximating these values.
  • The array cell "S" represents a cell that *may be* NULL. The domain uses the numeric variable "sentinel" and the pointer variable "at-sentinel" to represent the position and the value of the sentinel respectively.
  • The segment "after" represents pointers after the sentinel. The domain keeps no information about it.
module Domain : sig ... end
OCaml

Innovation. Community. Security.