GitHub
CERT Secure Coding

Clang

This page was automatically generated and should not be edited.

The information on this page was provided by outside contributors and has not been verified by SEI CERT.

The table below can be re-ordered, by clicking column headers.

Tool Version: 3.9

CheckerGuideline
-Wimplicit-intDCL31-C. Declare identifiers before using them
-Wincompatible-pointer-typesSTR38-C. Do not confuse narrow and wide character strings and functions
-Wincompatible-pointer-types-discards-qualifiersEXP32-C. Do not access a volatile object through a nonvolatile reference
-Wint-conversionINT36-C. Converting a pointer to integer or integer to pointer
-Wint-to-pointer-castINT36-C. Converting a pointer to integer or integer to pointer
-WparenthesesEXP45-C. Do not perform assignments in selection statements
-Wsometimes-uninitializedDCL41-C. Do not declare variables inside a switch statement before the first case label
-Wunevaluated-expressionEXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic
-WunsequencedEXP30-C. Do not depend on the order of evaluation for side effects
-WwSTR05-C. Use pointers to const when referring to string literals
cert-env33-cENV33-C. Do not call system()
cert-err34-cERR34-C. Detect errors when converting a string to a number
cert-flp30-cFLP30-C. Do not use floating-point variables as loop counters
cert-msc30-cMSC30-C. Do not use the rand() function for generating pseudorandom numbers
clang-analyzer-unix.MallocMEM34-C. Only free memory allocated dynamically
misc-non-copyable-objectsFIO38-C. Do not copy a FILE object
misc-static-assertDCL03-C. Use a static assertion to test the value of a constant expression
rite-stringsSTR05-C. Use pointers to const when referring to string literals