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

Module Ast.FrontendSource

Frontends

This module manages the frontends of supported languages that translate input source files into a Mopsa Program.program.

Sourcetype frontend = {
  1. lang : string;
    (*

    Language of the frontend

    *)
  2. parse : string list -> Program.program;
    (*

    Parser function that translates a list of input source files into a Mopsa Program.program

    *)
  3. on_panic : exn -> string list -> float -> unit;
    (*

    Function called when the analysis of a program terminates with an exception, and *when the output is in text mode*. Provided with the exception, list of files and analysis time. Current usecase: provide automated testcase reduction capabilities in the C analysis.

    *)
}

Frontends

Sourceval register_frontend : frontend -> unit

Register a new frontend

Sourceval find_language_frontend : string -> frontend

Find the frontend of a given language

OCaml

Innovation. Community. Security.