parent
6e3d5dc0d1
commit
920ac5a3f6
|
@ -29,11 +29,11 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
// CWE ids used:
|
// CWE ids used:
|
||||||
static const struct CWE CWE570(570U); // Expression is Always False
|
static const struct CWE CWE570(570U); // Expression is Always False
|
||||||
static const struct CWE CWE571(571U); // Expression is Always True
|
static const struct CWE CWE571(571U); // Expression is Always True
|
||||||
static const struct CWE CWE595(595U); // Comparison of Object References Instead of Object Contents
|
static const struct CWE CWE595(595U); // Comparison of Object References Instead of Object Contents
|
||||||
static const struct CWE CWE628(628U); // Function Call with Incorrectly Specified Arguments
|
static const struct CWE CWE628(628U); // Function Call with Incorrectly Specified Arguments
|
||||||
static const struct CWE CWE665(665U); // Improper Initialization
|
static const struct CWE CWE665(665U); // Improper Initialization
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
|
@ -36,9 +36,9 @@ namespace {
|
||||||
//
|
//
|
||||||
|
|
||||||
// CWE ids used:
|
// CWE ids used:
|
||||||
static const struct CWE CWE195(195U); // Signed to Unsigned Conversion Error
|
static const struct CWE CWE195(195U); // Signed to Unsigned Conversion Error
|
||||||
static const struct CWE CWE758(758U); // Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
|
static const struct CWE CWE758(758U); // Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
|
||||||
static const struct CWE CWE190(190U); // Integer Overflow or Wraparound
|
static const struct CWE CWE190(190U); // Integer Overflow or Wraparound
|
||||||
|
|
||||||
|
|
||||||
void CheckType::checkTooBigBitwiseShift()
|
void CheckType::checkTooBigBitwiseShift()
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
// Register this check class
|
// Register this check class
|
||||||
CheckUnusedFunctions CheckUnusedFunctions::instance;
|
CheckUnusedFunctions CheckUnusedFunctions::instance;
|
||||||
|
|
||||||
static const struct CWE CWE561(561U); // Dead Code
|
static const struct CWE CWE561(561U); // Dead Code
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace {
|
||||||
CheckUnusedVar instance;
|
CheckUnusedVar instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct CWE CWE563(563U); // Assignment to Variable without Use ('Unused Variable')
|
static const struct CWE CWE563(563U); // Assignment to Variable without Use ('Unused Variable')
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue