Integration.Driver
entry points for top-level functionalities such as capture under various build systems, analysis, and reporting
type mode =
| Analyze
| Ant of {
}
| BuckClangFlavor of {
}
| BuckCompilationDB of {
deps : IBase.BuckMode.clang_compilation_db_deps;
prog : string;
args : string list;
}
| BuckErlang of {
}
| BuckGenrule of {
}
| BuckJavaFlavor of {
}
| BxlClang of {
}
| BxlJava of {
}
| Clang of {
compiler : Clang.compiler;
prog : string;
args : string list;
}
| ClangCompilationDB of {
}
| Erlc of {
}
| Gradle of {
}
| Hackc of {
}
| Javac of {
compiler : Javac.compiler;
prog : string;
args : string list;
}
| JsonSIL of {
}
| Kotlinc of {
}
| Maven of {
}
| NdkBuild of {
}
| Python of {
}
| PythonBytecode of {
}
| Rebar3 of {
}
| Textual of {
}
| XcodeBuild of {
}
| XcodeXcpretty of {
}
based on the build_system and options passed to infer, we run in different driver modes
val is_analyze_mode : mode -> bool
val mode_from_command_line : mode IStdlib.IStd.Lazy.t
driver mode computed from the command-line arguments and settings in Config
val run : mode -> unit