Versions Compared

Key

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

...

Defining an unsafe macro leads to invocations of the macro with an argument that has side effects, causing those side effects to occur more than once. Unexpected or undefined program behavior can result.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

PRE12-C

Low

Probable

Yes

NoLow

P6P4

L2L3

Automated Detection

ToolVersionCheckerDescription
Astrée
Include Page
Astrée_V
Astrée_V
macro-parameter-multiplied
macro-parameter-unused
Partially checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-PRE12

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CC2.PRE12

Fully implemented

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C3456
LDRA tool suite
Include Page
LDRA_V
LDRA_V
562 S, 572 S, 35 D, 1 QPartially implemented
RuleChecker

Include Page
RuleChecker_V
RuleChecker_V

macro-parameter-multiplied
macro-parameter-unused
Partially checked

...

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

Related Guidelines

...