package goblint

All checked builds pass
  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.9.0.tbz
sha256=882f25e68cc14d42879ab4775fb2cf99aaac7e3cc70d58fa632b7edef304a731
sha512=dc90f0a685709688bbc13c80d0e2b01bf87cf2bbdc7f0c22632227ae32bee9377f3f1cb50f00cf564d6f1313c27fba5d811c53bb17a24972ab5aa570bf62278b

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

Module type GobConfig.SSource

The type for gobConfig module.

Sourceval get_json : string -> Yojson.Safe.t

Get JSON value at a given path.

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

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

Sourceval get_conf : unit -> Yojson.Safe.t

Equivalent to get_json "".

Sourceval set_conf : Yojson.Safe.t -> unit

Equivalent to set_conf "".

Sourceval get_int : string -> int

Functions to query conf variable of type int.

Sourceval set_int : string -> int -> unit

Functions to modify conf variables of type int.

Sourceval get_bool : string -> bool

Functions to query conf variable of type bool.

Sourceval set_bool : string -> bool -> unit

Functions to modify conf variables of type bool.

Sourceval get_string : string -> string

Functions to query conf variable of type string.

Sourceval set_string : string -> string -> unit

Functions to modify conf variables of type string.

Sourceval 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.

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

Get a list of values

Sourceval get_string_list : string -> string list

Get a list of strings

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

Set a list of values

Sourceval write_file : Fpath.t -> unit

Write the current configuration to filename

Sourceval merge_file : Fpath.t -> unit

Merge configurations from a file with current.

Sourceval merge : Yojson.Safe.t -> unit

Merge configurations from a JSON object with current.

Sourceval is_immutable : unit -> bool

Check whether modification of configuration is currently allowed.

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

Run the given computation with modification to configuration disabled.