Skip to content

Commit

Permalink
Fix unsoundness in per-mutex-tid which is revealed by strengthening
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Nov 28, 2023
1 parent 21a4a98 commit b3af798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analyses/apron/relationPriv.apron.ml
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ struct

let get_mutex_global_g_with_mutex_inits inits ask getg g =
let get_mutex_global_g = get_relevant_writes_nofilter ask @@ G.mutex @@ getg (V.mutex atomic_mutex) in
let get_mutex_global_g = Cluster.keep_global g get_mutex_global_g in
if M.tracing then M.traceli "relationpriv" "get_mutex_global_g_with_mutex_inits %a\n get=%a\n" CilType.Varinfo.pretty g LRD.pretty get_mutex_global_g;
let r =
if not inits then
Expand Down

0 comments on commit b3af798

Please sign in to comment.