package goblint

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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