Goblint_lib.CompilationDatabase
Input program from a real-world project using a compilation database.
type command_object = {
directory : Goblint_std.GobFpath.t;
file : Goblint_std.GobFpath.t;
command : string option;
arguments : string list option;
output : Goblint_std.GobFpath.t option;
}
val command_object_to_yojson : command_object -> Yojson.Safe.t
val command_object_of_yojson :
Yojson.Safe.t ->
command_object Ppx_deriving_yojson_runtime.error_or
val pp_command_object :
Ppx_deriving_runtime.Format.formatter ->
command_object ->
Ppx_deriving_runtime.unit
val show_command_object : command_object -> Ppx_deriving_runtime.string
type t = command_object list
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val parse_file : Fpath.t -> t
val split : command_object -> command_object list
val load_and_preprocess :
all_cppflags:string list ->
Fpath.t ->
(Fpath.t * ProcessPool.task option) list