Module InferIR__Exceptions
Functions for logging and printing exceptions
type visibility=|Exn_useralways add to error log
|Exn_developeronly add to error log in developer mode
|Exn_systemnever add to error log
visibility of the exception
val compare_visibility : visibility -> visibility -> int
val equal_visibility : visibility -> visibility -> bool
exceptionAbduction_case_not_implemented of InferBase.Logging.ocaml_posexceptionAnalysis_stops of InferIR.Localise.error_desc * InferBase.Logging.ocaml_pos optionexceptionArray_of_pointsto of InferBase.Logging.ocaml_posexceptionArray_out_of_bounds_l1 of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionArray_out_of_bounds_l2 of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionArray_out_of_bounds_l3 of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionBad_footprint of InferBase.Logging.ocaml_posexceptionCannot_star of InferBase.Logging.ocaml_posexceptionClass_cast_exception of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionCodequery of InferIR.Localise.error_descexceptionComparing_floats_for_equality of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionCondition_always_true_false of InferIR.Localise.error_desc * bool * InferBase.Logging.ocaml_posexceptionCustom_error of string * InferIR.Localise.error_descexceptionDummy_exception of InferIR.Localise.error_descexceptionDangling_pointer_dereference of InferIR.PredSymb.dangling_kind option * InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionDeallocate_stack_variable of InferIR.Localise.error_descexceptionDeallocate_static_memory of InferIR.Localise.error_descexceptionDeallocation_mismatch of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionDivide_by_zero of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionField_not_null_checked of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionEmpty_vector_access of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionEradicate of InferBase.IssueType.t * InferIR.Localise.error_descexceptionCheckers of InferBase.IssueType.t * InferIR.Localise.error_descexceptionFrontend_warning of InferBase.IssueType.t * InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionInherently_dangerous_function of InferIR.Localise.error_descexceptionInternal_error of InferIR.Localise.error_descexceptionJava_runtime_exception of InferIR.Typ.Name.t * string * InferIR.Localise.error_descexceptionLeak of bool * InferIR.Sil.hpred * visibility * InferIR.Localise.error_desc * bool * InferIR.PredSymb.resource * InferBase.Logging.ocaml_posexceptionMissing_fld of InferIR.Typ.Fieldname.t * InferBase.Logging.ocaml_posexceptionPremature_nil_termination of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionNull_dereference of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionNull_test_after_dereference of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionParameter_not_null_checked of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionPointer_size_mismatch of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionPrecondition_not_found of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionPrecondition_not_met of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionRetain_cycle of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionRegistered_observer_being_deallocated of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionReturn_expression_required of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionReturn_statement_missing of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionReturn_value_ignored of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionSkip_function of InferIR.Localise.error_descexceptionSkip_pointer_dereference of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionStack_variable_address_escape of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionSymexec_memory_error of InferBase.Logging.ocaml_posexceptionUnary_minus_applied_to_unsigned_expression of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionUnknown_procexceptionUnsafe_guarded_by_access of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionUse_after_free of InferIR.Localise.error_desc * InferBase.Logging.ocaml_posexceptionWrong_argument_number of InferBase.Logging.ocaml_pos
val severity_string : severity -> stringstring describing an error kind
val handle_exception : exn -> boolReturn true if the exception is not serious and should be handled in timeout mode
val print_exception_html : string -> exn -> unitprint a description of the exception to the html output
val pp_err : InferBase.Location.t -> severity -> InferBase.IssueType.t -> InferIR.Localise.error_desc -> InferBase.Logging.ocaml_pos option -> Stdlib.Format.formatter -> unit -> unitpretty print an error
type t={name : InferBase.IssueType.t;description : InferIR.Localise.error_desc;ocaml_pos : InferBase.Logging.ocaml_pos option;location in the infer source code
visibility : visibility;severity : severity option;category : err_class;}
val recognize_exception : exn -> t