Skip to content

Commit 3841fe7

Browse files
committed
Hide mutex structure contents in base analysis
1 parent 14c5129 commit 3841fe7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/cdomains/valueDomain.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ struct
883883
let mu = function `Blob (`Blob (y, s', orig), s, orig2) -> `Blob (y, ID.join s s',orig) | x -> x in
884884
let r =
885885
match x, offs with
886+
| _, _ when is_mutex_type t -> `Top (* hide mutex structure contents, not updated anyway *)
886887
| `Blob (x,s,orig), `Index (_,ofs) ->
887888
begin
888889
let l', o' = shift_one_over l o in

0 commit comments

Comments
 (0)