Skip to content

Commit

Permalink
[clang][analyzer] Improve BlockInCriticalSectionsChecker (#80029)
Browse files Browse the repository at this point in the history
* Add support for multiple, potentially overlapping critical sections:
  The checker can now simultaneously handle several mutex's critical
  sections without confusing them.
* Implement the handling of recursive mutexes:
  By identifying the lock events, recursive mutexes are now supported.
  A lock event is a pair of a lock expression, and the SVal of the mutex
  that it locks, so even multiple locks of the same mutex (and even by
  the same expression) is now supported.
* Refine the note tags generated by the checker:
  The note tags now correctly show just for mutexes that are
  active at the point of error, and multiple acquisitions of the same mutex
  are also noted.
  • Loading branch information
gamesh411 committed Mar 18, 2024
1 parent bd9a2af commit 705788c
Show file tree
Hide file tree
Showing 2 changed files with 510 additions and 146 deletions.

0 comments on commit 705788c

Please sign in to comment.