package goblint

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

Module Goblint_lib.MaingoblintSource

This is the main program!

Sourceval writeconffile : Fpath.t option Prelude.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 parse_arguments : unit -> unit

Parse arguments. Print help if needed.

Sourceval handle_flags : unit -> unit

Initialize some globals in other modules.

Sourceval basic_preprocess_counts : int Preprocessor.FpathH.t
Sourceval basic_preprocess : 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 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 -> GoblintCil.file -> unit

Perform the analysis over the merged AST.

Sourceval do_html_output : unit -> unit
Sourceval do_gobview : unit -> unit
Sourceval eprint_color : string -> unit
Sourceval check_arguments : unit -> unit
Sourceval handle_extraspecials : unit -> unit
Sourceval diff_and_rename : GoblintCil.file -> Analyses.increment_data
OCaml

Innovation. Community. Security.