package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.4.0.tbz
sha256=99b78e6def71534d195eef9084baa26d8334b36084e120aa6afb300c9bf8afa6
sha512=f3162bd95a03c00358a2991f6152fc6169205bfb4c55e2c483e98cc3935673df9656d025b6f1ea0fa5f1bd0aee037d4f483966b0d2907e3fa9bf11a93a3392af

doc/goblint.incremental/Serialize/Cache/index.html

Module Serialize.CacheSource

Module to cache the data for incremental analaysis during a run, before it is stored to disk, as well as for the server mode

Sourcetype t = {
  1. mutable solver_data : Stdlib.Obj.t option;
  2. mutable analysis_data : Stdlib.Obj.t option;
  3. mutable version_data : MaxIdUtil.max_ids option;
  4. mutable cil_file : GoblintCil.file option;
}
Sourceval data : t Stdlib.ref
Sourcetype _ data_query =
  1. | SolverData : _ data_query
  2. | CilFile : GoblintCil.file data_query
  3. | VersionData : MaxIdUtil.max_ids data_query
  4. | AnalysisData : _ data_query

GADT that may be used to query data from and pass data to the cache.

Sourceval load_data : unit -> unit

Loads data for incremental runs from the appropriate file

Sourceval store_data : unit -> unit

Stores data for future incremental runs at the appropriate file.

Sourceval update_data : 'a. 'a data_query -> 'a -> unit

Update the incremental data in the in-memory cache

Sourceval reset_data : 'a. 'a data_query -> unit

Reset some incremental data in the in-memory cache to None

Sourceval get_opt_data : 'a. 'a data_query -> 'a option

Get incremental data from the in-memory cache wrapped in an optional. To populate the in-memory cache with data, call load_data first.

Sourceval get_data : 'a. 'a data_query -> 'a

Get incremental data from the in-memory cache. Same as get_opt_data, except not yielding an optional and failing when the requested data is not present.

OCaml

Innovation. Community. Security.