Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on must-relocking of non-recursive mutex #1628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Nov 14, 2024

mayLocks analysis can warn on it, but mutex analysis can be definite about it.

Inspired by https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks/-/merge_requests/1587 which we clearly have the information for, but didn't say anything.

We cannot go to dead code in this case because we don't distinguish error-checking mutexes.

mayLocks analysis can warn on it, but mutex analysis can be definite about it.
@sim642 sim642 added the feature label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant