We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b61d84 commit 0109577Copy full SHA for 0109577
src/analyses/varEq.ml
@@ -17,8 +17,10 @@ struct
17
struct
18
include PartitionDomain.ExpPartitions
19
20
- let is_str_constant = function
+ (* TODO: Should string constants not be added to D in the first place, rather than filtering them for witness invariants? *)
21
+ let rec is_str_constant = function
22
| Const (CStr _ | CWStr _) -> true
23
+ | CastE (_, e) -> is_str_constant e
24
| _ -> false
25
26
let invariant ~scope ss =
0 commit comments