Skip to content

Commit bee4cff

Browse files
committed
remove rule
1 parent 8080bc3 commit bee4cff

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

rule_packages/c/Language2.json

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,14 @@
4141
}
4242
],
4343
"title": "Language extensions should not be used"
44-
},
45-
"RULE-1-3": {
46-
"properties": {
47-
"obligation": "required"
48-
},
49-
"queries": [
50-
{
51-
"description": "",
52-
"kind": "problem",
53-
"name": "There shall be no occurrence of undefined or critical unspecified behaviour",
54-
"precision": "high",
55-
"severity": "error",
56-
"short_name": "CriticalUnspecifiedBehaviour",
57-
"tags": [
58-
"maintainability",
59-
"readability",
60-
"correctness"
61-
]
62-
}
63-
],
64-
"title": "There shall be no occurrence of undefined or critical unspecified behaviour"
65-
},
44+
},
6645
"RULE-1-4": {
6746
"properties": {
6847
"obligation": "required"
6948
},
7049
"queries": [
7150
{
72-
"description": "",
51+
"description": "Emergent language features may have unpredictable behavior and should not be used.",
7352
"kind": "problem",
7453
"name": "Emergent language features shall not be used",
7554
"precision": "very-high",

rules.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ c,MISRA-C-2012,DIR-4-13,Yes,Advisory,,,Functions which are designed to provide o
618618
c,MISRA-C-2012,DIR-4-14,Yes,Required,,,The validity of values received from external sources shall be checked,,Contracts,Hard,
619619
c,MISRA-C-2012,RULE-1-1,No,Required,,,"The program shall contain no violations of the standard C syntax and constraints, and shall not exceed the implementation's translation limits",,Language,Easy,"This should be checked via the compiler output, rather than CodeQL, which adds unnecessary steps."
620620
c,MISRA-C-2012,RULE-1-2,Yes,Advisory,,,Language extensions should not be used,,Language2,Hard,
621-
c,MISRA-C-2012,RULE-1-3,Yes,Required,,,There shall be no occurrence of undefined or critical unspecified behaviour,,Language2,Hard,
621+
c,MISRA-C-2012,RULE-1-3,Yes,Required,,,There shall be no occurrence of undefined or critical unspecified behaviour,,Language3,Hard,
622622
c,MISRA-C-2012,RULE-1-4,Yes,Required,,,Emergent language features shall not be used,,Language2,Medium,
623623
c,MISRA-C-2012,RULE-2-1,Yes,Required,,,A project shall not contain unreachable code,M0-1-1,DeadCode,Import,
624624
c,MISRA-C-2012,RULE-2-2,Yes,Required,,,There shall be no dead code,M0-1-9,DeadCode,Import,

0 commit comments

Comments
 (0)