package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.3.0.tbz
sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26
sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0

doc/goblint.common/GobConfig/module-type-S/index.html

Module type GobConfig.S

The type for gobConfig module.

val get_json : string -> Yojson.Safe.t

Get JSON value at a given path.

val set_json : string -> Yojson.Safe.t -> unit

Directly set a JSON value; the result must conform to the schema.

val get_conf : unit -> Yojson.Safe.t

Equivalent to get_json "".

val set_conf : Yojson.Safe.t -> unit

Equivalent to set_conf "".

val get_int : string -> int

Functions to query conf variable of type int.

val set_int : string -> int -> unit

Functions to modify conf variables of type int.

val get_bool : string -> bool

Functions to query conf variable of type bool.

val set_bool : string -> bool -> unit

Functions to modify conf variables of type bool.

val get_string : string -> string

Functions to query conf variable of type string.

val set_string : string -> string -> unit

Functions to modify conf variables of type string.

val set_auto : string -> string -> unit

Functions to modify conf variables by trying to parse the value. The second argument must be valid Json except single quotes represent double quotes.

val get_list : string -> Yojson.Safe.t list

Get a list of values

val get_string_list : string -> string list

Get a list of strings

val set_list : string -> Yojson.Safe.t list -> unit

Set a list of values

val write_file : Fpath.t -> unit

Write the current configuration to filename

val merge_file : Fpath.t -> unit

Merge configurations from a file with current.

val merge : Yojson.Safe.t -> unit

Merge configurations from a JSON object with current.

val is_immutable : unit -> bool

Check whether modification of configuration is currently allowed.

val with_immutable_conf : (unit -> 'a) -> 'a

Run the given computation with modification to configuration disabled.

OCaml

Innovation. Community. Security.