Skip to content

Commit f85f8a3

Browse files
Make control-flow more transparent
1 parent 250d660 commit f85f8a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cdomain/value/cdomains/valueDomain.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,10 +1001,10 @@ struct
10011001
else
10021002
mu (Blob (join x (do_update_offset ask x offs value exp l' o' v t), s, zeroinit))
10031003
end
1004-
| Blob (x,s,zeroinit), _ ->
1004+
| Blob (x,s,zeroinit), `NoOffset -> (* `NoOffset is only remaining possibility for Blob here *)
10051005
begin
1006-
match offs, value with
1007-
| `NoOffset, Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2, zeroinit))
1006+
match value with
1007+
| Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2, zeroinit))
10081008
| _ ->
10091009
let l', o' = shift_one_over l o in
10101010
let x = zero_init_calloced_memory zeroinit x t in

0 commit comments

Comments
 (0)