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

Module Memory.String_length

String length abstraction.

This abstract domain implements the technique presented in 1. It abstracts C strings by the position of the first `\0` character within the base memory block.

The length is kept in an underlying numeric domain. Therefore, the domain is implemented as a stack domain, to allow sharing the underlying domain with others.

The domain is stateless, because abstraction is performed by rewriting statements/expressions in C into equivalent ones in Universal over the length variable. Not internal state is required.

1 M. Journault, A. Miné, A. Ouadjaout. Modular static analysis of string manipulations in C programs. SAS 2018. LNCS, vol. 11002.

module Domain : sig ... end
OCaml

Innovation. Community. Security.