Skip to content

Commit

Permalink
Remove history thread ID may_create for first unique thread prefix TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Aug 14, 2024
1 parent c2c596f commit bb2fa08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdomain/value/cdomains/threadIdDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ struct
(* TODO: avoid length calculations? *)
let dp' = BatList.take (List.length p - List.length cdef_ancestor) p in (* elements removed from prefix *)
S.subset (S.of_list dp') s' (* removed elements become part of set, must be contained, because compose can only add them *)
(* TODO: also check disjointness *)
(* no need to check disjointness, because if t' is well-formed, then s' won't have anything from cdef_ancestor anyway *)
)
else
false (* prefixes must not be incompatible (one is prefix of another or vice versa), because compose cannot fix incompatibility there *)
Expand Down

0 comments on commit bb2fa08

Please sign in to comment.