type analysis_issue
=
{
bug_kind : string; |
bug_type : string; |
clang_method_kind : string option; |
exception_triggered_location : InferBase.Logging.ocaml_pos option; |
lang : string; |
procedure_name : string; |
source_location : InferBase.Location.t; |
}
type analysis_stats
=
{
analysis_nodes_visited : int; |
analysis_status : InferBase.SymOp.failure_kind option; |
analysis_total_nodes : int; |
clang_method_kind : string option; |
lang : string; |
method_location : InferBase.Location.t; |
method_name : string; |
num_preposts : int; |
symops : int; |
}
type call_trace
=
{
call_location : InferBase.Location.t; |
call_result : string; |
callee_clang_method_kind : string option; |
callee_source_file : InferBase.SourceFile.t option; |
callee_name : string; |
caller_name : string; |
lang : string; |
reason : string option; |
}
type frontend_exception
=
{
ast_node : string option; |
exception_triggered_location : InferBase.Logging.ocaml_pos; |
exception_type : string; |
lang : string; |
source_location_start : InferBase.Location.t; |
source_location_end : InferBase.Location.t; |
}
type performance_stats
=
{
lang : string; |
source_file : InferBase.SourceFile.t option; |
stats_type : string; |
mem_perf : mem_perf option; |
time_perf : time_perf option; |
}
type procedures_translated
=
{
lang : string; |
procedures_translated_failed : int; |
procedures_translated_total : int; |
source_file : InferBase.SourceFile.t; |
}
type event
=
| AnalysisIssue of analysis_issue | |
| AnalysisStats of analysis_stats | |
| CallTrace of call_trace | |
| FrontendException of frontend_exception | |
| PerformanceStats of performance_stats | |
| ProceduresTranslatedSummary of procedures_translated | |
| UncaughtException of exn * int | (** exception, exitcode *) |
val log : event ‑> unit