forked from nasa/ci_lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasa#86, Implement Coding Standard in CodeQL
- Loading branch information
1 parent
3062167
commit 54416f3
Showing
3 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "CodeQL Coding Standard Configuration File" | ||
|
||
disable-default-queries: true | ||
|
||
queries: | ||
- name: JPL Rules | ||
uses: ./codeql/cpp/ql/src/JPL_C | ||
- name: MISRA Rule 9-5-1 | ||
uses: ./codeql/cpp/ql/src/jsf/4.20 Unions and Bit Fields/AV Rule 153.ql | ||
- name: MISRA Rule 5-18-1 | ||
uses: ./codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 168.ql | ||
- name: MISRA 6-2-2 | ||
uses: ./codeql/cpp/ql/src/jsf/4.25 Expressions/AV Rule 202.ql | ||
- name: MISRA Rule 5-14-1 | ||
uses: ./codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 165.ql | ||
- name: MISRA Rule 5-3-2 | ||
uses: ./codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 165.ql | ||
- name: MISRA Rule 7-5-2 | ||
uses: ./codeql/cpp/ql/src/jsf/4.22 Pointers and References/AV Rule 173.ql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "CodeQL Security Configuration File" | ||
|
||
queries: | ||
- name: Security and Quality | ||
uses: security-and-quality | ||
- name: Security Extended | ||
uses: security-extended | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters