Skip to content

Commit ca584ea

Browse files
committed
Make base MayPointTo query speculative
var_eq queries various points-to-sets which aren't in program at that location.
1 parent f9fda00 commit ca584ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/analyses/base.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,7 @@ struct
15461546
| _ -> Queries.Result.top q
15471547
end
15481548
| Q.MayPointTo e -> begin
1549+
let@ () = GobRef.wrap AnalysisState.executing_speculative_computations true in (* TODO: speculate other queries too? *)
15491550
match eval_rv_address ~man man.local e with
15501551
| Address a -> a
15511552
| Bot -> Queries.Result.bot q (* TODO: remove *)

0 commit comments

Comments
 (0)