package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-1.1.1.tbz
sha256=999272bfbd3b9b96fcd58987b237ac6e9fa6d92ef935cc89f1ea2b4205185141
sha512=f3bf6ab71cf8c258d3290da4bf9f6fe42d7c671822e0efeb0fc50afdff078ab15e352237e5c1db31c5aa3a9d430691268ed2e5e00da10f2615835f672f91683d

doc/goblint.lib/Maingoblint/index.html

Module Maingoblint

This is the main program!

val writeconffile : string Prelude.ref
val print_version : 'a -> 'b

Print version and bail.

val print_help : 'a BatInnerIO.output -> 'b

Print helpful messages.

val create_temp_dir : unit -> unit
val remove_temp_dir : unit -> unit
val option_spec_list : (string * Arg.spec * string) list

Arg option specification

val cFileNames : string list Prelude.ref

List of C files to consider.

val parse_arguments : unit -> unit

Parse arguments and fill cFileNames and jsonFiles. Print help if needed.

val handle_flags : unit -> unit

Initialize some globals in other modules.

val preprocess_one_file : string -> string -> string

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

val preprocess_files : unit -> string list

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

val merge_preprocessed : string list -> Cil.file

Possibly merge all postprocessed files

val do_stats : unit -> unit
val do_analyze : Analyses.increment_data -> Cil.file -> unit

Perform the analysis over the merged AST.

val do_html_output : unit -> unit
val do_gobview : unit -> unit
val eprint_color : string -> unit
val check_arguments : unit -> unit
val handle_extraspecials : unit -> unit
val diff_and_rename : Cil.file -> Analyses.increment_data
val main : unit -> unit

the main function

OCaml

Innovation. Community. Security.