You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Generated Content

This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:
2024.3

Checker

Guideline

ASSIGCOND.BOOLMSC02-CPP. Avoid errors of omission
ASSIGCOND.CALLEXP19-CPP. Do not perform assignments in conditional expressions
ASSIGCOND.CALLMSC02-CPP. Avoid errors of omission
ASSIGCOND.GENEXP19-CPP. Do not perform assignments in conditional expressions
ASSIGCOND.GENMSC02-CPP. Avoid errors of omission
CL.MLK.VIRTUALOOP52-CPP. Do not delete a polymorphic object without a virtual destructor
EFFECTMSC02-CPP. Avoid errors of omission
IF_DUPL_HEADERPRE08-CPP. Guarantee that header file names are unique
IF_MULTI_DECLDCL01-CPP. Do not reuse variable names in subscopes
IF_MULTI_DEFDCL01-CPP. Do not reuse variable names in subscopes
IF_MULTI_KINDDCL01-CPP. Do not reuse variable names in subscopes
IF_ONLY_DECLMSC13-CPP. Detect and remove unused values
IF_ONLY_DEFMSC13-CPP. Detect and remove unused values
IF_ONLY_LOCALMSC13-CPP. Detect and remove unused values
INC.EXTRAMSC12-CPP. Detect and remove code that has no effect
INCORRECT.ALLOC_SIZEEXP01-CPP. Do not take the size of a pointer to determine the size of the pointed-to type
LA_UNUSEDMSC01-CPP. Strive for logical completeness
LV_UNUSED.DEADMSC07-CPP. Detect and remove dead code
LV_UNUSED.GENMSC13-CPP. Detect and remove unused values
NNTSSTR03-CPP. Do not inadvertently truncate a null-terminated character array
NNTS.TAINTEDSTR02-CPP. Sanitize data passed to complex subsystems
PA_UNUSED.DEADMSC07-CPP. Detect and remove dead code
PA_UNUSED.GENMSC13-CPP. Detect and remove unused values
SEMICOLMSC03-CPP. Avoid errors of addition
SV.CODE_INJECTION.SHELL_EXECENV02-CPP. Do not call system() if you do not need a command processor
SV.CUDS.MISSING_ABSOLUTE_PATHFIO02-CPP. Canonicalize path names originating from untrusted sources
SV.RVT.RETVAL_NOTTESTEDEXP12-CPP. Do not ignore values returned by functions or methods
SV.TAINTED.INJECTIONENV02-CPP. Do not call system() if you do not need a command processor
SV.TAINTED.INJECTIONSTR02-CPP. Sanitize data passed to complex subsystems
SV.TOCTOU.FILE_ACCESSFIO01-CPP. Be careful using functions that use file names for identification
UFM.DEREF.MIGHTMEM50-CPP. Do not access freed memory
UFM.DEREF.MUSTMEM50-CPP. Do not access freed memory
UFM.PARAMPASS.MIGHTMEM50-CPP. Do not access freed memory
UFM.PARAMPASS.MUSTMEM50-CPP. Do not access freed memory
UFM.RETURN.MIGHTMEM50-CPP. Do not access freed memory
UFM.RETURN.MUSTMEM50-CPP. Do not access freed memory
UFM.USE.MIGHTMEM50-CPP. Do not access freed memory
UFM.USE.MUSTMEM50-CPP. Do not access freed memory
UNREACH.BREAKMSC07-CPP. Detect and remove dead code
UNREACH.GENMSC07-CPP. Detect and remove dead code
UNREACH.RETURNMSC07-CPP. Detect and remove dead code
UNREACH.RETURN0MSC07-CPP. Detect and remove dead code
VA_UNUSED.GENMSC13-CPP. Detect and remove unused values
VA_UNUSED.INITMSC13-CPP. Detect and remove unused values
VA_UNUSED.INITCONSTMSC13-CPP. Detect and remove unused values

>

  • No labels