...
Deadlock prevents multiple threads from progressing, halting program execution. A denial-of-service attack is possible if the attacker can create the conditions for deadlock.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
CON53-CPP | Low | Probable | No | NoMedium | P4P2 | L3 |
Automated Detection
| Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| CONCURRENCY.LOCK.ORDER | Conflicting lock order | ||||||
| Coverity | 6.5 | DEADLOCK | Fully implemented | ||||||
| Helix QAC |
| C++1772, C++1773 | |||||||
| Parasoft C/C++test |
| CERT_CPP-CON53-a | Do not acquire locks in different order | ||||||
| Polyspace Bug Finder |
| CERT C++: CON53-CPP | Checks for deadlocks |
...