Main Content

Polyspace Bug Finder Defects Checkers Enabled by Default for Generated Code

When you start a Bug Finder analysis on code generated from Simulink or MATLAB code, these checkers are enabled by default. To see a list of checkers that are enabled when you run an analysis on handwritten code, see Polyspace Bug Finder Defects Checkers Enabled by Default.

DefectCommand-line Name
Absorption of float operandFLOAT_ABSORPTION
Array access out of boundsOUT_BOUND_ARRAY
AssertionASSERT
Data raceDATA_RACE
Data race on adjacent bit fieldsDATA_RACE_BIT_FIELDS
Data race through standard library function callDATA_RACE_STD_LIB
Dead codeDEAD_CODE
DeadlockDEADLOCK
Deallocation of previously deallocated pointerDOUBLE_DEALLOCATION
Declaration mismatchDECL_MISMATCH
Dereference of a null pointerNULL_PTR
Double lockDOUBLE_LOCK
Double unlockDOUBLE_UNLOCK
Float conversion overflowFLOAT_CONV_OVFL
Float division by zeroFLOAT_ZERO_DIV
Format string specifiers and arguments mismatchSTRING_FORMAT
Infinite loopINFINITE_LOOP
Integer conversion overflowINT_CONV_OVFL
Integer division by zeroINT_ZERO_DIV
Invalid free of pointerBAD_FREE
Invalid use of standard library floating point routineFLOAT_STD_LIB
Invalid use of standard library integer routineINT_STD_LIB
Invalid use of standard library memory routineMEM_STD_LIB
Invalid use of standard library routineOTHER_STD_LIB
Invalid use of standard library string routineSTR_STD_LIB
Missing lockBAD_UNLOCK
Missing return statementMISSING_RETURN
Missing unlockBAD_LOCK
Non-initialized pointerNON_INIT_PTR
Non-initialized variableNON_INIT_VAR
Pointer access out of boundsOUT_BOUND_PTR
Sign change integer conversion overflowSIGN_CHANGE
Typedef mismatchTYPEDEF_MISMATCH
Unreachable codeUNREACHABLE
Unreliable cast of function pointerFUNC_CAST
Unreliable cast of pointerPTR_CAST
Unsigned integer conversion overflowUINT_CONV_OVFL
Use of previously freed pointerFREED_PTR
Useless ifUSELESS_IF

To enable other checkers and coding rule, configure checkers selections. See Prepare Checkers Configuration for Polyspace Bug Finder Analysis.

Related Topics