We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3014833 commit 4d3d8e3Copy full SHA for 4d3d8e3
src/analyses/baseInvariant.ml
@@ -103,7 +103,7 @@ struct
103
let old_val = get_var ~man st var in
104
let old_val = map_oldval old_val var.vtype in
105
let offs = convert_offset ~man st o in
106
- let new_val = VD.update_offset (Queries.to_value_domain_ask (Analyses.ask_of_man man)) old_val offs c' (Some exp) x (var.vtype) in
+ let new_val = VD.update_offset (Queries.to_value_domain_ask (Analyses.ask_of_man man)) old_val offs c' (Some exp) x (Cilfacade.typeOfLval x) in
107
let v = apply_invariant ~old_val ~new_val in
108
if is_some_bot v then contra st
109
else (
0 commit comments