Skip to content

Commit

Permalink
Make control-flow more transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Dec 30, 2024
1 parent 250d660 commit f85f8a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cdomain/value/cdomains/valueDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,10 @@ struct
else
mu (Blob (join x (do_update_offset ask x offs value exp l' o' v t), s, zeroinit))
end
| Blob (x,s,zeroinit), _ ->
| Blob (x,s,zeroinit), `NoOffset -> (* `NoOffset is only remaining possibility for Blob here *)
begin
match offs, value with
| `NoOffset, Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2, zeroinit))
match value with
| Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2, zeroinit))
| _ ->
let l', o' = shift_one_over l o in
let x = zero_init_calloced_memory zeroinit x t in
Expand Down

0 comments on commit f85f8a3

Please sign in to comment.