-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Highfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.
Description
Affected rules
RULE-7-2
Description
This query reports false positives in two cases:
- It reports cases in macro expansions where the
U
suffix was used. - It reports cases where the integer constant is signed, but is then implicitly converted to unsigned. This is permitted by the rule.
Example
unsigned int x = 1030; // COMPLIANT[FALSE_POSITIVE]
#define Y 0x80000000U
Y; // COMPLIANT[FALSE_POSITIVE]
Metadata
Metadata
Assignees
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Highfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.
Type
Projects
Status
Done