Skip to content

Commit 861f881

Browse files
committed
Hide mutex structure contents in base analysis
1 parent c1a0ee6 commit 861f881

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
@@ -854,6 +854,7 @@ struct
854854
let mu = function `Blob (`Blob (y, s', orig), s, orig2) -> `Blob (y, ID.join s s',orig) | x -> x in
855855
let r =
856856
match x, offs with
857+
| _, _ when is_mutex_type t -> `Top (* hide mutex structure contents, not updated anyway *)
857858
| `Blob (x,s,orig), `Index (_,ofs) ->
858859
begin
859860
let l', o' = shift_one_over l o in

0 commit comments

Comments
 (0)