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
ifM.tracing thenM.trace "reachability""Checking value %a\n"VD.pretty value;
520
520
match value with
@@ -530,7 +530,7 @@ struct
530
530
ValueDomain.Unions.fold (funkvacc -> AD.join (reachable_from_value ask gs st v t description) acc) u empty
531
531
(* For arrays, we ask to read from an unknown index, this will cause it
532
532
* join all its values. *)
533
-
|Arraya -> reachable_from_value ask gs st (ValueDomain.CArrays.get (Queries.to_value_domain_ask ask) a (None, ValueDomain.ArrIdxDomain.top ())) t description
533
+
|Arraya -> reachable_from_value ask gs st (ValueDomain.CArrays.get ask a (None, ValueDomain.ArrIdxDomain.top ())) t description
534
534
|Blob (e,_,_) -> reachable_from_value ask gs st e t description
535
535
|Structs -> ValueDomain.Structs.fold (funkvacc -> AD.join (reachable_from_value ask gs st v t description) acc) s empty
536
536
|Int_ -> empty
@@ -545,7 +545,8 @@ struct
545
545
* pointers. We return a flattend representation, thus simply an address (set). *)
546
546
letreachable_from_address (ask: Q.ask) (gs:glob_fun) st (adr: address): address =
547
547
ifM.tracing thenM.tracei "reachability""Checking for %a\n"AD.pretty adr;
548
-
let res = reachable_from_value ask gs st (get ask gs st adr None) (AD.type_of adr) (AD.show adr) in
548
+
let value_domain_ask =Queries.to_value_domain_ask ask in
549
+
let res = reachable_from_value value_domain_ask gs st (get ask gs st adr None) (AD.type_of adr) (AD.show adr) in
0 commit comments