...
Recommendation | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
POS51-C | Low | Probable | No | MediumNo | P4P2 | L3 |
Automated Detection
| Tool | Version | Checker | Description | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| Supported: Astrée reports all potential deadlocks. | ||||||||||||||
| CodeSonar |
| CONCURRENCY.LOCK.ORDER | Conflicting lock order | |||||||||||||
| Helix QAC |
| C1772, C1773 | ||||||||||||||
| Klocwork |
| CONC.DL | ||||||||||||||
| Parasoft C/C++test |
| BDCERT_C- | TRS-ORDERPOS51-a | Do not acquire locks in different order | ||||||||||||
| Polyspace Bug Finder |
| Implemented
| R2016a | Deadlock | Call sequence to lock functions cause two tasks to block each other
| CERT C: Rule POS51-C | Checks for deadlock (rule fully covered) |
Related Guidelines
Key here (explains table format and definitions)
...