Module InferModules.PulseDiagnostic
type t
=
|
AccessToInvalidAddress of
{
invalidated_by : PulseDomain.Invalidation.t PulseDomain.Trace.t;
accessed_by : unit PulseDomain.Trace.t;
}
|
StackVariableAddressEscape of
{
variable : InferIR.Var.t;
history : PulseDomain.ValueHistory.t;
location : InferBase.Location.t;
}
an error to report to the user
val get_message : t -> string
val get_location : t -> InferBase.Location.t
val get_issue_type : t -> InferBase.IssueType.t
val get_trace : t -> InferIR.Errlog.loc_trace