package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.8.0.tbz
sha256=9175eec0143102243964e34a0786584fd590c60422009259c705a89a27f88de4
sha512=9d760007dd8d003cf596516444ed7acc7370fc3d446e75ac71b0176522c3baae090410762f9035e7aae4f6b0e394bf28bb5b1c08ca0476920b94aa919ef04f42

doc/goblint.lib/Goblint_lib/Maingoblint/index.html

Module Goblint_lib.MaingoblintSource

Main external executable functionality: command-line, front-end and analysis execution.

Sourceval writeconffile : Fpath.t option ref
Sourcetype logger = {
  1. f : 'a. ('a, unit, GoblintCil.Pretty.doc, unit) format4 -> 'a;
}
Sourceval print_version : libraries:bool -> logger -> unit
Sourceval print_version_and_exit : unit -> 'a
Sourceval print_help : 'a BatInnerIO.output -> 'b

Print helpful messages.

Sourceval option_spec_list : Arg_complete.speclist Lazy.t

Arg option specification

Sourceval complete : string list -> unit
Sourceval check_arguments : unit -> unit
Sourceval handle_flags : unit -> unit

Initialize some globals in other modules.

Sourceval handle_options : unit -> unit
Sourceval parse_arguments : unit -> unit

Parse arguments. Print help if needed.

Sourceexception FrontendError of string
Sourceval basic_preprocess_counts : int Preprocessor.FpathH.t
Sourceval basic_preprocess : ?preprocess:??? -> all_cppflags:string list -> Preprocessor.FpathH.key -> Preprocessor.FpathH.key * ProcessPool.task option

Use gcc to preprocess a file. Returns the path to the preprocessed file.

Sourceval preprocess_files : unit -> (Preprocessor.FpathH.key * ProcessPool.task option) list

Preprocess all files. Return list of preprocessed files and the temp directory name.

Sourceval special_path_regexp : Str.regexp

Regex for special "paths" in cpp output: <built-in>, <command-line>, but also translations!

Sourceval parse_preprocessed : (Preprocessor.FpathH.key * ProcessPool.task option) list -> GoblintCil.Cil.file list

Parse preprocessed files

Sourceval merge_parsed : GoblintCil.Cil.file list -> GoblintCil.file

Merge parsed files

Sourceval preprocess_parse_merge : unit -> GoblintCil.file
Sourceval do_stats : unit -> unit
Sourceval reset_stats : unit -> unit
Sourceval do_analyze : Analyses.increment_data option -> GoblintCil.file -> unit

Perform the analysis over the merged AST.

Sourceval do_gobview : 'a -> unit
Sourceval handle_extraspecials : unit -> unit
Sourceval diff_and_rename : GoblintCil.file -> Analyses.increment_data option