Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM Cost Reform

...

Recommendation

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

PRE05-C

Low

Unlikely

No

MediumYes

P2

L3

Automated Detection

341, 0342, 0801, 0802, 803, 0811, 0872,

0880, 0881, 0884
ToolVersionCheckerDescription
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-PRE05
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.PREPROC.HASH
LANG.PREPROC.MARGME
LANG.PREPROC.PASTE

Macro uses # operator
Macro argument is both mixed and expanded
Macro uses ## operator
Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C0341, C0342, C0801, C0802, C0803, C0811, C0872, C0880, C0881, C0884


Klocwork
Include Page
Klocwork_V
Klocwork_V
MISRA.DEFINE.SHARP.ORDER.2012
LDRA tool suite
Include Page
LDRA_V
LDRA_V

76 S, 125 S, 637 S

Enhanced EnforcementPRQA QA-C
Include Page
PRQA QA-C_vPRQA QA-C_v
Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rec. PRE05-C

Checks for incorrectly expanded macros
PC-lint Plus

Include Page
PC-lint Plus_V
PC-lint Plus_V

9024

Assistance provided: reports any use of pasting or stringizing operators in a macro definition

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

...