|
|
@ -73,13 +73,12 @@ let get_message diagnostic =
|
|
|
|
F.asprintf "undefined behaviour caused by nil messaging of non-pod return type (%a)"
|
|
|
|
F.asprintf "undefined behaviour caused by nil messaging of non-pod return type (%a)"
|
|
|
|
(Typ.pp Pp.text) non_pod_typ
|
|
|
|
(Typ.pp Pp.text) non_pod_typ
|
|
|
|
| Invalidation.InsertionIntoCollection ->
|
|
|
|
| Invalidation.InsertionIntoCollection ->
|
|
|
|
F.sprintf "nil insertion into collection"
|
|
|
|
"nil insertion into collection"
|
|
|
|
| Invalidation.BlockCall ->
|
|
|
|
| Invalidation.BlockCall ->
|
|
|
|
F.sprintf "nil block call"
|
|
|
|
"nil block call"
|
|
|
|
in
|
|
|
|
in
|
|
|
|
let issue_kind_str =
|
|
|
|
let issue_kind_str =
|
|
|
|
Option.value_map must_be_valid_reason
|
|
|
|
Option.value_map must_be_valid_reason ~default:"null pointer dereference"
|
|
|
|
~default:(F.sprintf "null pointer dereference")
|
|
|
|
|
|
|
|
~f:nil_issue_kind
|
|
|
|
~f:nil_issue_kind
|
|
|
|
in
|
|
|
|
in
|
|
|
|
let pp_access_trace fmt (trace : Trace.t) =
|
|
|
|
let pp_access_trace fmt (trace : Trace.t) =
|
|
|
|