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.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 Stdlib.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 Stdlib.Lazy.t

Arg option specification

Sourceval rest_all_complete : Arg_complete.Rest_all_compat.t Stdlib.Lazy.t
Sourceval complete : string list -> unit
Sourceval eprint_color : string -> 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 -> Fpath.t -> Fpath.t * ProcessPool.task option

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

Sourceval preprocess_files : unit -> (Fpath.t * 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_html_output : unit -> unit
Sourceval do_gobview : 'a -> unit
Sourceval handle_extraspecials : unit -> unit
Sourceval diff_and_rename : GoblintCil.file -> Analyses.increment_data option
OCaml

Innovation. Community. Security.