package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/codex.whilelib/Whilelib/While_analysis/index.html

Module Whilelib.While_analysisSource

This module presents the implementation of a simple example analyzer for the while language using codex constructs. It is detailed in the While tutorial's chapter4.

Sourcemodule Terms : sig ... end
module NonRelationalDomain : sig ... end
Sourcemodule Domain : sig ... end
Sourcemodule Var = While_ast.Var
Sourcetype state = {
  1. ctx : Domain.Context.t;
  2. store : Domain.integer Store.t;
}
Sourceval initial_state : unit -> state
Sourceval pp : Format.formatter -> state -> unit
Sourceval join : state -> state -> state
Sourceval join_opt : state option -> state option -> state option
Sourceval widen : int -> state -> state -> state * bool
Sourceval pp_ret : Format.formatter -> state option -> unit
Sourceval copy : state -> state
Sourceval (let*) : 'a option -> ('a -> 'b option) -> 'b option
Sourceval analyze_stmt : state option -> While_ast.stmt -> state option