Skip to content

Commit 5a92f7b

Browse files
committed
Hide mutex structure contents in base analysis
1 parent ea01109 commit 5a92f7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cdomains/valueDomain.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ struct
855855
let mu = function `Blob (`Blob (y, s', orig), s, orig2) -> `Blob (y, ID.join s s',orig) | x -> x in
856856
let r =
857857
match x, offs with
858+
| _, _ when is_mutex_type t -> `Top (* hide mutex structure contents, not updated anyway *)
858859
| `Blob (x,s,orig), `Index (_,ofs) ->
859860
begin
860861
let l', o' = shift_one_over l o in

0 commit comments

Comments
 (0)