package goblint
Static analysis framework for C
Install
Dune Dependency
Authors
Maintainers
Sources
goblint-2.3.0.tbz
sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26
sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0
doc/goblint.lib/Goblint_lib/Serialize/Cache/index.html
Module Serialize.Cache
Module to cache the data for incremental analaysis during a run, before it is stored to disk, as well as for the server mode
type t = {
mutable solver_data : Stdlib.Obj.t option;
mutable analysis_data : Stdlib.Obj.t option;
mutable version_data : MaxIdUtil.max_ids option;
mutable cil_file : GoblintCil.file option;
}
val data : t Stdlib.ref
type _ data_query =
| SolverData : _ data_query
| CilFile : GoblintCil.file data_query
| VersionData : MaxIdUtil.max_ids data_query
| AnalysisData : _ data_query
GADT that may be used to query data from and pass data to the cache.
val update_data : 'a. 'a data_query -> 'a -> unit
Update the incremental data in the in-memory cache
val reset_data : 'a. 'a data_query -> unit
Reset some incremental data in the in-memory cache to None
val 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.
val 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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>