forked from aws/Jobs-for-AWS-IoT-embedded-sdk
-
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 misra violations Update CMake to optionally compile for coverity Update coverity config * Revert NDEBUG project vide change * Update ci.yml * Update coverity readme * Fix spell check
- Loading branch information
1 parent
f1c3bd6
commit 05f2afa
Showing
8 changed files
with
104 additions
and
100 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 |
---|---|---|
|
@@ -13,6 +13,7 @@ Coverity | |
CSDK | ||
ctest | ||
DCMOCK | ||
DCOV | ||
decihours | ||
Decihours | ||
DECIHOURS | ||
|
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,33 +1,31 @@ | ||
// MISRA C-2012 Rules | ||
|
||
{ | ||
version : "2.0", | ||
standard : "c2012", | ||
title: "Coverity MISRA Configuration", | ||
deviations : [ | ||
"version" : "2.0", | ||
"standard" : "c2012", | ||
"title": "Coverity MISRA Configuration", | ||
"deviations" : [ | ||
{ | ||
deviation: "Directive 4.8", | ||
category: "Advisory", | ||
reason: "AfrOtaJobDocumentFields_t struct must be externally visible in able to be used by the application." | ||
"deviation": "Directive 4.8", | ||
"category": "Advisory", | ||
"reason": "AfrOtaJobDocumentFields_t struct must be externally visible in able to be used by the application." | ||
}, | ||
{ | ||
deviation: "Directive 4.9", | ||
category: "Advisory", | ||
reason: "Allow inclusion of function like macros." | ||
"deviation": "Directive 4.9", | ||
"category": "Advisory", | ||
"reason": "Allow inclusion of function like macros." | ||
}, | ||
{ | ||
deviation: "Rule 2.5", | ||
category: "Advisory", | ||
reason: "Allow unused macros. Library headers may define macros intended for the application's use, but not used by a specific file." | ||
"deviation": "Rule 2.5", | ||
"category": "Advisory", | ||
"reason": "Allow unused macros. Library headers may define macros intended for the application's use, but not used by a specific file." | ||
}, | ||
{ | ||
deviation: "Rule 3.1", | ||
category: "Required", | ||
reason: "Allow nested comments. Documentation blocks contain comments for example code." | ||
"deviation": "Rule 3.1", | ||
"category": "Required", | ||
"reason": "Allow nested comments. Documentation blocks contain comments for example code." | ||
}, | ||
{ | ||
deviation: "Rule 8.7", | ||
reason: "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
"deviation": "Rule 8.7", | ||
"reason": "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
} | ||
] | ||
} |