Goblint_lib.MaingoblintSourceMain external executable functionality: command-line, front-end and analysis execution.
Print version and bail.
Print helpful messages.
Arg option specification
Initialize some globals in other modules.
Parse arguments. Print help if needed.
val basic_preprocess :
?preprocess:bool ->
all_cppflags:string list ->
Preprocessor.FpathH.key ->
Preprocessor.FpathH.key * ProcessPool.task optionUse gcc to preprocess a file. Returns the path to the preprocessed file.
Preprocess all files. Return list of preprocessed files and the temp directory name.
Regex for special "paths" in cpp output: <built-in>, <command-line>, but also translations!
val parse_preprocessed :
(Preprocessor.FpathH.key * ProcessPool.task option) list ->
GoblintCil.Cil.file listParse preprocessed files
Merge parsed files
Perform the analysis over the merged AST.