We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aabda0 commit a81a94cCopy full SHA for a81a94c
1 file changed
src/analyses/base.ml
@@ -821,7 +821,7 @@ struct
821
in
822
let r =
823
(* query functions were no help ... now try with values*)
824
- match constFold true exp with
+ match exp with (* TODO: support all cases from [constFold true] directly *)
825
(* Integer literals *)
826
(* seems like constFold already converts CChr to CInt *)
827
| Const (CChr x) -> eval_rv ~man st (Const (charConstToInt x)) (* char becomes int, see Cil doc/ISO C 6.4.4.4.10 *)
0 commit comments