Soteria_c_lib.Errortype t = [ | `NullDereference| `OutOfBounds| `UninitializedMemoryAccess| `UseAfterFree| `DivisionByZero| `ParsingError of string| `LinkError of string| `UBPointerComparison| `UBPointerArithmetic| `InvalidFunctionPtr| `DoubleFree| `InvalidFree| `Memory_leak| `FailedAssert| `Overflow| `Gave_up of string ]val pp :
Stdlib.Format.formatter ->
[< `DivisionByZero
| `DoubleFree
| `FailedAssert
| `Gave_up of string
| `InvalidFree
| `InvalidFunctionPtr
| `LinkError of string
| `Memory_leak
| `NullDereference
| `OutOfBounds
| `Overflow
| `ParsingError of string
| `UBPointerArithmetic
| `UBPointerComparison
| `UninitializedMemoryAccess
| `UseAfterFree ] ->
unitval kind_string :
[< `DivisionByZero
| `DoubleFree
| `FailedAssert
| `Gave_up of 'a
| `InvalidFree
| `InvalidFunctionPtr
| `LinkError of 'b
| `Memory_leak
| `NullDereference
| `OutOfBounds
| `Overflow
| `ParsingError of 'c
| `UBPointerArithmetic
| `UBPointerComparison
| `UninitializedMemoryAccess
| `UseAfterFree ] ->
stringSame as `show` but does not include details about the error, only the kind.
val is_ub :
[< `DivisionByZero
| `DoubleFree
| `FailedAssert
| `Gave_up of 'a
| `InvalidFree
| `InvalidFunctionPtr
| `LinkError of 'b
| `Memory_leak
| `NullDereference
| `OutOfBounds
| `Overflow
| `ParsingError of 'c
| `UBPointerArithmetic
| `UBPointerComparison
| `UninitializedMemoryAccess
| `UseAfterFree ] ->
boolval severity : t -> Soteria.Terminal.Diagnostic.severitytype with_trace = t * Cerb_location.t Soteria.Terminal.Call_trace.tval with_trace :
?msg:string ->
'a ->
'b ->
'a * 'b Soteria.Terminal.Call_trace.tval add_to_call_trace :
with_trace ->
Cerb_location.t Soteria.Terminal.Call_trace.element ->
t * Cerb_location.t Soteria.Terminal.Call_trace.element listmodule Diagnostic : sig ... endmodule Exit_code : sig ... end