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/mopsa.mopsa_c_parser/Mopsa_c_parser/Clang_parser_cache/index.html

Module Mopsa_c_parser.Clang_parser_cacheSource

Clang_parser_cache - Cache parsed AST to improve efficiency.

AST are cached in marshalized files. We store the list of files used during parsing and check that they have not been modified before using the cache.

Sourceval debug : ('a, Format.formatter, unit, unit) format4 -> 'a
Sourceval version : string

Version number. This is checked when using the cache, and should be changed when the signature or the AST type change to invalidate the cache.

Sourcetype file_signature = string * float * int

Source file identification.

Sourcetype signature = string * Clang_AST.target_options * string array * file_signature list

Parse identification.

Sourceval file_abs : 'a -> 'a

Make filename absolute.

Sourceval get_file_signature : string -> file_signature
Sourceval get_signature : string -> Clang_AST.target_options -> string array -> string list -> signature
Sourceval check_signature : 'a -> 'b -> 'c -> ('a * 'b * 'c * file_signature list) -> bool

Checks that the signature is valid.

Sourceval file_cache_name : string -> string

File name of cache for a given source file name.

Sourceval parse : string -> Clang_AST.target_options -> bool -> string -> string array -> Clang_parser.parse_result
OCaml

Innovation. Community. Security.