Skip to content

Commit 2b4a46a

Browse files
committed
move rules
1 parent 9b11600 commit 2b4a46a

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

rule_packages/c/Concurrency2.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
{
22
"CERT-C": {
3-
"CON31-C": {
4-
"properties": {
5-
"obligation": "rule"
6-
},
7-
"queries": [
8-
{
9-
"description": "Allowing a mutex to go out of scope while it is locked removes protections around shared resources.",
10-
"kind": "problem",
11-
"name": "Do not destroy a mutex while it is locked",
12-
"precision": "medium",
13-
"severity": "error",
14-
"short_name": "DoNotDestroyAMutexWhileItIsLocked",
15-
"tags": [
16-
"correctness",
17-
"concurrency"
18-
]
19-
}
20-
],
21-
"title": "Do not destroy a mutex while it is locked"
22-
},
233
"CON35-C": {
244
"properties": {
255
"obligation": "rule"
@@ -32,6 +12,7 @@
3212
"precision": "very-high",
3313
"severity": "error",
3414
"short_name": "DeadlockByLockingInPredefinedOrder",
15+
"shared_implementation_short_name": "PreventDeadlockByLockingInPredefinedOrder",
3516
"tags": [
3617
"correctness",
3718
"concurrency"

rule_packages/cpp/Concurrency.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"precision": "medium",
8686
"severity": "error",
8787
"short_name": "DeadlockByLockingInPredefinedOrder",
88+
"shared_implementation_short_name": "PreventDeadlockByLockingInPredefinedOrder",
8889
"tags": [
8990
"correctness",
9091
"concurrency"

0 commit comments

Comments
 (0)