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/ast/Ast/Program/index.html

Module Ast.ProgramSource

Programs

This module allows defining new kinds of programs to be analyzed by Mopsa. A program encapsulates the static information present in the source files that may be needed during the analysis, such as the list of functions variables, etc.

Sourcetype prog_kind = ..

Extensible type of program kinds

Sourcetype program = {
  1. prog_kind : prog_kind;
    (*

    kind of the program

    *)
  2. prog_range : Mopsa_utils.Location.range;
    (*

    program location

    *)
}

Programs

Sourceval compare_program : program -> program -> int

Total order between programs

Sourceval pp_program : Stdlib.Format.formatter -> program -> unit

Pretty-printer for programs

Registration

Sourceval register_program : program Mopsa_utils.TypeExt.info -> unit

register_program info registers a new program kind by registering its comparison function info.compare and pretty-printer info.print

Sourceval register_program_compare : program Mopsa_utils.TypeExt.compare -> unit

Register a comparison function between programs

Sourceval register_program_pp : program Mopsa_utils.TypeExt.print -> unit

Register a pretty-printer for programs

OCaml

Innovation. Community. Security.

On This Page
  1. Registration