Skip to content

Commit

Permalink
Fix relation read_globals_to_locals reading untracked variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Nov 9, 2023
1 parent 0698aad commit 7fc8343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/apron/relationAnalysis.apron.ml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct
let visitor = object
inherit nopCilVisitor
method! vlval = function
| (Var v, NoOffset) when v.vglob || ThreadEscape.has_escaped ask v ->
| (Var v, NoOffset) when (v.vglob || ThreadEscape.has_escaped ask v) && RD.Tracked.varinfo_tracked v ->
let v_in =
if VH.mem v_ins v then
VH.find v_ins v
Expand Down

0 comments on commit 7fc8343

Please sign in to comment.