Skip to content

Commit

Permalink
Top indices in mutex analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 12, 2023
1 parent d9afd55 commit a00ee57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analyses/mutexAnalysis.ml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ struct
end

let add ctx (l:Mutexes.elt*bool) =
let (m, b) = l in
let m = Addr.top_indices m in
let l = (m, b) in
let s,m = ctx.local in
let s' = Lockset.add l s in
match Addr.to_mval (fst l) with
Expand Down

0 comments on commit a00ee57

Please sign in to comment.