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