You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/analyses/base.ml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -540,9 +540,9 @@ struct
540
540
ifnot (VD.is_immediate_type t) thenM.info ~category:Unsound"Unknown value in %s could be an escaped pointer address!" description; empty
541
541
|Bot -> (*M.debug ~category:Analyzer "A bottom value when computing reachable addresses!";*) empty
542
542
|AddressadrswhenAD.is_top adrs ->
543
-
M.info ~category:Unsound"Unknown address in %s has escaped." description; AD.remove Addr.NullPtradrs (* return known addresses still to be a bit more sane (but still unsound) *)
543
+
M.info ~category:Unsound"Unknown address in %s has escaped." description; adrs (* return known addresses still to be a bit more sane (but still unsound) *)
544
544
(* The main thing is to track where pointers go: *)
545
-
|Addressadrs -> AD.remove Addr.NullPtradrs
545
+
|Addressadrs -> adrs
546
546
(* Unions are easy, I just ingore the type info. *)
547
547
|Union (f,e) -> reachable_from_value ask e t description
548
548
(* For arrays, we ask to read from an unknown index, this will cause it
0 commit comments