package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.7.1.tbz
sha256=af01aac256229f33a90a9fcbfed04b01e3097f154d4d124f006476d6387c6a66
sha512=2a93bfe16881adbc2d8dcbfe38c1e19cd24ca105d8e1eda13d02440f3002874ffe2957dfd937510765233a054a40568b0052db92e31d382a5bd215d1ec12565c

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
Sourceval print_version : 'a -> 'b

Print version and bail.

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:bool -> 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