Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 38 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:

9.7

Checker

Guideline

-wc atolINT06-C. Use strtol() or a related function to convert a string token to an integer
-wc strcatSTR07-C. Use the bounds-checking interfaces for string manipulation
-wc strncatSTR07-C. Use the bounds-checking interfaces for string manipulation
-wc strncpySTR07-C. Use the bounds-checking interfaces for string manipulation
-wc strtokSTR06-C. Do not assume that strtok() leaves the parse string unchanged
0160MSC15-C. Do not depend on undefined behavior
0161MSC15-C. Do not depend on undefined behavior
0162MSC15-C. Do not depend on undefined behavior
0163MSC15-C. Do not depend on undefined behavior
0164MSC15-C. Do not depend on undefined behavior
0165MSC15-C. Do not depend on undefined behavior
0166MSC15-C. Do not depend on undefined behavior
0167MSC15-C. Do not depend on undefined behavior
0168MSC15-C. Do not depend on undefined behavior
0169MSC15-C. Do not depend on undefined behavior
0170MSC15-C. Do not depend on undefined behavior
0171MSC15-C. Do not depend on undefined behavior
0172MSC15-C. Do not depend on undefined behavior
0173MSC15-C. Do not depend on undefined behavior
0174MSC15-C. Do not depend on undefined behavior
0175MSC15-C. Do not depend on undefined behavior
0176MSC15-C. Do not depend on undefined behavior
0177MSC15-C. Do not depend on undefined behavior
0178MSC15-C. Do not depend on undefined behavior
0179MSC15-C. Do not depend on undefined behavior
0179 (U)FIO47-C. Use valid format strings
0179 (U)DCL11-C. Understand the type issues associated with variadic functions
0180 (C99)FIO47-C. Use valid format strings
0184DCL10-C. Maintain the contract between the writer and caller of variadic functions
0184MSC15-C. Do not depend on undefined behavior
0184 (U)FIO47-C. Use valid format strings
0184 (U)DCL11-C. Understand the type issues associated with variadic functions
0185DCL10-C. Maintain the contract between the writer and caller of variadic functions
0185MSC15-C. Do not depend on undefined behavior
0185 (U)FIO47-C. Use valid format strings
0185 (U)DCL11-C. Understand the type issues associated with variadic functions
0186MSC15-C. Do not depend on undefined behavior
0186 (U)DCL11-C. Understand the type issues associated with variadic functions
0190MSC15-C. Do not depend on undefined behavior
0190 (U)FIO47-C. Use valid format strings
0190 (U)DCL11-C. Understand the type issues associated with variadic functions
0191MSC15-C. Do not depend on undefined behavior
0191 (U)FIO47-C. Use valid format strings
0191 (U)DCL11-C. Understand the type issues associated with variadic functions
0192MSC15-C. Do not depend on undefined behavior
0192 (U)FIO47-C. Use valid format strings
0192 (U)DCL11-C. Understand the type issues associated with variadic functions
0193MSC15-C. Do not depend on undefined behavior
0193 (U)FIO47-C. Use valid format strings
0193 (U)DCL11-C. Understand the type issues associated with variadic functions
0194MSC15-C. Do not depend on undefined behavior
0194 (U)FIO47-C. Use valid format strings
0194 (U)DCL11-C. Understand the type issues associated with variadic functions
0195MSC15-C. Do not depend on undefined behavior
0195 (U)FIO47-C. Use valid format strings
0195 (U)DCL11-C. Understand the type issues associated with variadic functions
0196MSC15-C. Do not depend on undefined behavior
0196 (U)FIO47-C. Use valid format strings
0196 (U)DCL11-C. Understand the type issues associated with variadic functions
0197MSC15-C. Do not depend on undefined behavior
0197 (U)FIO47-C. Use valid format strings
0197 (U)DCL11-C. Understand the type issues associated with variadic functions
0198MSC15-C. Do not depend on undefined behavior
0198 (U)FIO47-C. Use valid format strings
0198 (U)DCL11-C. Understand the type issues associated with variadic functions
0199MSC15-C. Do not depend on undefined behavior
0199 (U)FIO47-C. Use valid format strings
0199 (U)DCL11-C. Understand the type issues associated with variadic functions
0200MSC15-C. Do not depend on undefined behavior
0200 (U)FIO47-C. Use valid format strings
0200 (U)DCL11-C. Understand the type issues associated with variadic functions
0201MSC15-C. Do not depend on undefined behavior
0201 (U)FIO47-C. Use valid format strings
0201 (U)DCL11-C. Understand the type issues associated with variadic functions
0202MSC14-C. Do not introduce unnecessary platform dependencies
0202 (I)FIO47-C. Use valid format strings
0203MSC15-C. Do not depend on undefined behavior
0204MSC15-C. Do not depend on undefined behavior
0206MSC15-C. Do not depend on undefined behavior
0206 (U)FIO47-C. Use valid format strings
0206 (U)DCL11-C. Understand the type issues associated with variadic functions
0207DCL11-C. Understand the type issues associated with variadic functions
0207MSC15-C. Do not depend on undefined behavior
0208DCL11-C. Understand the type issues associated with variadic functions
0208MSC15-C. Do not depend on undefined behavior
0235MSC15-C. Do not depend on undefined behavior
0240MSC14-C. Do not introduce unnecessary platform dependencies
0241MSC14-C. Do not introduce unnecessary platform dependencies
0246MSC14-C. Do not introduce unnecessary platform dependencies
0275MSC15-C. Do not depend on undefined behavior
0285MSC09-C. Character encoding: Use subset of ASCII for safety
0286MSC09-C. Character encoding: Use subset of ASCII for safety
0287MSC09-C. Character encoding: Use subset of ASCII for safety
0288MSC09-C. Character encoding: Use subset of ASCII for safety
0289MSC09-C. Character encoding: Use subset of ASCII for safety
0299MSC09-C. Character encoding: Use subset of ASCII for safety
0301MSC15-C. Do not depend on undefined behavior
0302MSC15-C. Do not depend on undefined behavior
0304MSC15-C. Do not depend on undefined behavior
0307MSC15-C. Do not depend on undefined behavior
0309MSC15-C. Do not depend on undefined behavior
0310EXP39-C. Do not access a variable through a pointer of an incompatible type
0310EXP11-C. Do not make assumptions regarding the layout of structures with bit-fields
0311EXP05-C. Do not cast away a const qualification
0312EXP32-C. Do not access a volatile object through a nonvolatile reference
0337MSC15-C. Do not depend on undefined behavior
0342PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0400EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
0400MSC15-C. Do not depend on undefined behavior
0400 [U]EXP30-C. Do not depend on the order of evaluation for side effects
0401EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
0401MSC15-C. Do not depend on undefined behavior
0401 [U]EXP30-C. Do not depend on the order of evaluation for side effects
0402EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
0402MSC15-C. Do not depend on undefined behavior
0402 [U]EXP30-C. Do not depend on the order of evaluation for side effects
0403EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
0403MSC15-C. Do not depend on undefined behavior
0403 [U]EXP30-C. Do not depend on the order of evaluation for side effects
0431(C)DCL13-C. Declare function parameters that are pointers to values not changed by the function as const
0432 (C)STR04-C. Use plain char for characters in the basic character set
0434 (C)DCL31-C. Declare identifiers before using them
0475MSC15-C. Do not depend on undefined behavior
0487ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
0488EXP08-C. Ensure pointer arithmetic is used correctly
0499INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
0543MSC15-C. Do not depend on undefined behavior
0544MSC15-C. Do not depend on undefined behavior
0545MSC15-C. Do not depend on undefined behavior
0551MSC14-C. Do not introduce unnecessary platform dependencies
0556STR30-C. Do not attempt to modify string literals
0563EXP40-C. Do not modify constant objects
0597MSC01-C. Strive for logical completeness
0601MSC14-C. Do not introduce unnecessary platform dependencies
0602DCL37-C. Do not declare or define a reserved identifier
0602MSC15-C. Do not depend on undefined behavior
0623MSC15-C. Do not depend on undefined behavior
0625MSC15-C. Do not depend on undefined behavior
0625 (U)DCL36-C. Do not declare an identifier with conflicting linkage classifications
0626MSC15-C. Do not depend on undefined behavior
0630MSC15-C. Do not depend on undefined behavior
0632MSC15-C. Do not depend on undefined behavior
0633MSC14-C. Do not introduce unnecessary platform dependencies
0634 (I)INT12-C. Do not make assumptions about the type of a plain int bit-field when used in an expression
0635INT12-C. Do not make assumptions about the type of a plain int bit-field when used in an expression
0635MSC14-C. Do not introduce unnecessary platform dependencies
0636MSC15-C. Do not depend on undefined behavior
0654MSC15-C. Do not depend on undefined behavior
0658MSC15-C. Do not depend on undefined behavior
0660MSC14-C. Do not introduce unnecessary platform dependencies
0661MSC15-C. Do not depend on undefined behavior
0662MSC14-C. Do not introduce unnecessary platform dependencies
0667MSC15-C. Do not depend on undefined behavior
0668MSC15-C. Do not depend on undefined behavior
0672MSC15-C. Do not depend on undefined behavior
0674STR04-C. Use plain char for characters in the basic character set
0676MSC15-C. Do not depend on undefined behavior
0678MSC15-C. Do not depend on undefined behavior
0680MSC15-C. Do not depend on undefined behavior
0688ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer
0690STR11-C. Do not specify the bound of a character array initialized with a string literal
0695MEM02-C. Immediately cast the result of a memory allocation function call into a pointer to the allocated type
0697EXP03-C. Do not assume the size of a structure is the sum of the sizes of its members
0699STR04-C. Use plain char for characters in the basic character set
0706MSC15-C. Do not depend on undefined behavior
0724INT09-C. Ensure enumeration constants map to unique values
0745MSC15-C. Do not depend on undefined behavior
0752STR30-C. Do not attempt to modify string literals
0752STR05-C. Use pointers to const when referring to string literals
0753STR30-C. Do not attempt to modify string literals
0753STR05-C. Use pointers to const when referring to string literals
0777DCL23-C. Guarantee that mutually visible identifiers are unique
0777MSC15-C. Do not depend on undefined behavior
0779DCL23-C. Guarantee that mutually visible identifiers are unique
0779MSC15-C. Do not depend on undefined behavior
0790FLP02-C. Avoid using floating-point numbers when precise computation is needed
0801PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0802PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0809MSC15-C. Do not depend on undefined behavior
0811PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0813MSC15-C. Do not depend on undefined behavior
0814MSC15-C. Do not depend on undefined behavior
0830MSC14-C. Do not introduce unnecessary platform dependencies
0831MSC14-C. Do not introduce unnecessary platform dependencies
0836MSC15-C. Do not depend on undefined behavior
0837MSC15-C. Do not depend on undefined behavior
0848MSC15-C. Do not depend on undefined behavior
0853MSC15-C. Do not depend on undefined behavior
0854MSC15-C. Do not depend on undefined behavior
0864MSC15-C. Do not depend on undefined behavior
0865MSC15-C. Do not depend on undefined behavior
0867MSC15-C. Do not depend on undefined behavior
0872MSC15-C. Do not depend on undefined behavior
0872PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0874MSC15-C. Do not depend on undefined behavior
0880PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0881PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0883PRE06-C. Enclose header files in an inclusion guard
0884PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
0885MSC15-C. Do not depend on undefined behavior
0887MSC15-C. Do not depend on undefined behavior
0888MSC15-C. Do not depend on undefined behavior
0899MSC14-C. Do not introduce unnecessary platform dependencies
0914MSC15-C. Do not depend on undefined behavior
0915MSC15-C. Do not depend on undefined behavior
0942MSC15-C. Do not depend on undefined behavior
1001MSC14-C. Do not introduce unnecessary platform dependencies
1002MSC14-C. Do not introduce unnecessary platform dependencies
1003MSC14-C. Do not introduce unnecessary platform dependencies
1006MSC14-C. Do not introduce unnecessary platform dependencies
1008MSC14-C. Do not introduce unnecessary platform dependencies
1012MSC14-C. Do not introduce unnecessary platform dependencies
1014MSC14-C. Do not introduce unnecessary platform dependencies
1015MSC14-C. Do not introduce unnecessary platform dependencies
1019MSC14-C. Do not introduce unnecessary platform dependencies
1020MSC14-C. Do not introduce unnecessary platform dependencies
1021MSC14-C. Do not introduce unnecessary platform dependencies
1022MSC14-C. Do not introduce unnecessary platform dependencies
1026MSC14-C. Do not introduce unnecessary platform dependencies
1028MSC14-C. Do not introduce unnecessary platform dependencies
1029MSC14-C. Do not introduce unnecessary platform dependencies
1034MSC14-C. Do not introduce unnecessary platform dependencies
1035MSC14-C. Do not introduce unnecessary platform dependencies
1036MSC14-C. Do not introduce unnecessary platform dependencies
1037DCL38-C. Use the correct syntax when declaring a flexible array member
1037MSC14-C. Do not introduce unnecessary platform dependencies
1038MSC14-C. Do not introduce unnecessary platform dependencies
1041MSC14-C. Do not introduce unnecessary platform dependencies
1042MSC14-C. Do not introduce unnecessary platform dependencies
1043MSC14-C. Do not introduce unnecessary platform dependencies
1044MSC14-C. Do not introduce unnecessary platform dependencies
1045MSC14-C. Do not introduce unnecessary platform dependencies
1046MSC14-C. Do not introduce unnecessary platform dependencies
1051ARR32-C. Ensure size arguments for variable length arrays are in a valid range
1051MEM05-C. Avoid large stack allocations
1250INT02-C. Understand integer conversion rules
1251INT02-C. Understand integer conversion rules
1252INT02-C. Understand integer conversion rules
1253INT02-C. Understand integer conversion rules
1256INT02-C. Understand integer conversion rules
1257INT02-C. Understand integer conversion rules
1260INT02-C. Understand integer conversion rules
1263INT02-C. Understand integer conversion rules
1266INT02-C. Understand integer conversion rules
1274INT02-C. Understand integer conversion rules
1280DCL16-C. Use "L," not "l," to indicate a long value
1290INT02-C. Understand integer conversion rules
1291INT02-C. Understand integer conversion rules
1292INT02-C. Understand integer conversion rules
1292INT07-C. Use only explicitly signed or unsigned char type for numeric values
1293INT02-C. Understand integer conversion rules
1293INT07-C. Use only explicitly signed or unsigned char type for numeric values
1294INT02-C. Understand integer conversion rules
1295INT02-C. Understand integer conversion rules
1296INT02-C. Understand integer conversion rules
1297INT02-C. Understand integer conversion rules
1298INT02-C. Understand integer conversion rules
1299INT02-C. Understand integer conversion rules
1302DCL31-C. Declare identifiers before using them
1304DCL07-C. Include the appropriate type information in function declarators
1312STR11-C. Do not specify the bound of a character array initialized with a string literal
1331EXP37-C. Call functions with the correct number and type of arguments
1332EXP37-C. Call functions with the correct number and type of arguments
1333EXP37-C. Call functions with the correct number and type of arguments
1434MSC14-C. Do not introduce unnecessary platform dependencies
1460MSC01-C. Strive for logical completeness
1470MSC01-C. Strive for logical completeness
1472MSC01-C. Strive for logical completeness
1500MSC13-C. Detect and remove unused values
1501MSC07-C. Detect and remove dead code
1501MSC12-C. Detect and remove code that has no effect or is never executed
1502MSC13-C. Detect and remove unused values
1503MSC07-C. Detect and remove dead code
1503MSC12-C. Detect and remove code that has no effect or is never executed
1504DCL15-C. Declare file-scope objects or functions that do not need external linkage as static
1504DCL19-C. Minimize the scope of variables and functions
1505DCL19-C. Minimize the scope of variables and functions
1509MSC15-C. Do not depend on undefined behavior
1510DCL40-C. Do not create incompatible declarations of the same function or object
1510MSC15-C. Do not depend on undefined behavior
1520MEM05-C. Avoid large stack allocations
1531DCL15-C. Declare file-scope objects or functions that do not need external linkage as static
1531DCL19-C. Minimize the scope of variables and functions
1532DCL19-C. Minimize the scope of variables and functions
1800INT02-C. Understand integer conversion rules
1802INT02-C. Understand integer conversion rules
1803INT02-C. Understand integer conversion rules
1804INT02-C. Understand integer conversion rules
1810INT02-C. Understand integer conversion rules
1811INT02-C. Understand integer conversion rules
1812INT02-C. Understand integer conversion rules
1813INT02-C. Understand integer conversion rules
1820INT02-C. Understand integer conversion rules
1821INT02-C. Understand integer conversion rules
1822INT02-C. Understand integer conversion rules
1823INT02-C. Understand integer conversion rules
1824INT02-C. Understand integer conversion rules
1830INT02-C. Understand integer conversion rules
1831INT02-C. Understand integer conversion rules
1832INT02-C. Understand integer conversion rules
1833INT02-C. Understand integer conversion rules
1834INT02-C. Understand integer conversion rules
1840INT02-C. Understand integer conversion rules
1841INT02-C. Understand integer conversion rules
1842INT02-C. Understand integer conversion rules
1843INT02-C. Understand integer conversion rules
1844INT02-C. Understand integer conversion rules
1850INT02-C. Understand integer conversion rules
1851INT02-C. Understand integer conversion rules
1852INT02-C. Understand integer conversion rules
1853INT02-C. Understand integer conversion rules
1854INT02-C. Understand integer conversion rules
1860INT02-C. Understand integer conversion rules
1861INT02-C. Understand integer conversion rules
1862INT02-C. Understand integer conversion rules
1863INT02-C. Understand integer conversion rules
1864INT02-C. Understand integer conversion rules
1880INT02-C. Understand integer conversion rules
1881INT02-C. Understand integer conversion rules
1882INT02-C. Understand integer conversion rules
1890INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
1891INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
1892INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
1893INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
1894INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
1895INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
2INT02-C. Understand integer conversion rules
2000MSC01-C. Strive for logical completeness
2002MSC01-C. Strive for logical completeness
2003MSC17-C. Finish every set of statements associated with a case label with a break statement
2004MSC01-C. Strive for logical completeness
2008MSC07-C. Detect and remove dead code
2008MSC12-C. Detect and remove code that has no effect or is never executed
2019MSC20-C. Do not use a switch statement to transfer control into a complex block
2050DCL31-C. Declare identifiers before using them
2050DCL07-C. Include the appropriate type information in function declarators
2051DCL31-C. Declare identifiers before using them
2100INT02-C. Understand integer conversion rules
2101INT02-C. Understand integer conversion rules
2102INT02-C. Understand integer conversion rules
2103INT02-C. Understand integer conversion rules
2104INT02-C. Understand integer conversion rules
2105INT02-C. Understand integer conversion rules
2106INT02-C. Understand integer conversion rules
2107INT02-C. Understand integer conversion rules
2109INT02-C. Understand integer conversion rules
2110INT02-C. Understand integer conversion rules
2111INT02-C. Understand integer conversion rules
2112INT02-C. Understand integer conversion rules
2113INT02-C. Understand integer conversion rules
2114INT02-C. Understand integer conversion rules
2115INT02-C. Understand integer conversion rules
2116INT02-C. Understand integer conversion rules
2117INT02-C. Understand integer conversion rules
2118INT02-C. Understand integer conversion rules
2119INT02-C. Understand integer conversion rules
212INT02-C. Understand integer conversion rules
2120INT02-C. Understand integer conversion rules
2124INT02-C. Understand integer conversion rules
2130INT02-C. Understand integer conversion rules
2132INT02-C. Understand integer conversion rules
2134INT02-C. Understand integer conversion rules
2547DCL01-C. Do not reuse variable names in subscopes
2761ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2762ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2763ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2766ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2767ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2768ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2771ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2772ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2773ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
2790INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
2791 (D)INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
2792 (A)INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
2793 (S)INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
2800INT32-C. Ensure that operations on signed integers do not result in overflow
2800INT08-C. Verify that all integer values are in range
2801INT32-C. Ensure that operations on signed integers do not result in overflow
2801INT08-C. Verify that all integer values are in range
2802INT32-C. Ensure that operations on signed integers do not result in overflow
2802INT08-C. Verify that all integer values are in range
2803INT32-C. Ensure that operations on signed integers do not result in overflow
2803INT08-C. Verify that all integer values are in range
2810EXP34-C. Do not dereference null pointers
2811EXP34-C. Do not dereference null pointers
2812EXP34-C. Do not dereference null pointers
2813EXP34-C. Do not dereference null pointers
2814EXP34-C. Do not dereference null pointers
2820EXP34-C. Do not dereference null pointers
2821EXP34-C. Do not dereference null pointers
2822EXP34-C. Do not dereference null pointers
2823EXP34-C. Do not dereference null pointers
2824EXP34-C. Do not dereference null pointers
2830 (C)INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
2831 (D)INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
2832 (A)INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
2833 (S)INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
2834 (P)INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
284MSC14-C. Do not introduce unnecessary platform dependencies
2840ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2841ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2842ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2843ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2844ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2845ARR38-C. Guarantee that library functions do not form invalid pointers
2846ARR38-C. Guarantee that library functions do not form invalid pointers
2847ARR38-C. Guarantee that library functions do not form invalid pointers
2848ARR38-C. Guarantee that library functions do not form invalid pointers
2849ARR38-C. Guarantee that library functions do not form invalid pointers
2850INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2851INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2852INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2853INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2855INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2856INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2857INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2858INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2877MSC07-C. Detect and remove dead code
2877MSC12-C. Detect and remove code that has no effect or is never executed
2880MSC07-C. Detect and remove dead code
2880MSC12-C. Detect and remove code that has no effect or is never executed
2881MSC07-C. Detect and remove dead code
2881MSC12-C. Detect and remove code that has no effect or is never executed
2882MSC07-C. Detect and remove dead code
2882MSC12-C. Detect and remove code that has no effect or is never executed
2883MSC07-C. Detect and remove dead code
2883MSC12-C. Detect and remove code that has no effect or is never executed
2888MSC37-C. Ensure that control never reaches the end of a non-void function
2890INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2891INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2892INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2893INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2895INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2896INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2897INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2898INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2900INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2901INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2902INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2903INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2905INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2906INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2907INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2908INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
2910INT08-C. Verify that all integer values are in range
2910 (C)INT30-C. Ensure that unsigned integer operations do not wrap
2911INT08-C. Verify that all integer values are in range
2911 (D)INT30-C. Ensure that unsigned integer operations do not wrap
2912INT08-C. Verify that all integer values are in range
2912 (A)INT30-C. Ensure that unsigned integer operations do not wrap
2913INT08-C. Verify that all integer values are in range
2913 (S)INT30-C. Ensure that unsigned integer operations do not wrap
2930ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2930ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
2930ARR38-C. Guarantee that library functions do not form invalid pointers
2930EXP08-C. Ensure pointer arithmetic is used correctly
2931ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2931ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
2931EXP08-C. Ensure pointer arithmetic is used correctly
2932ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2932ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
2932ARR38-C. Guarantee that library functions do not form invalid pointers
2932EXP08-C. Ensure pointer arithmetic is used correctly
2933ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2933ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
2933ARR38-C. Guarantee that library functions do not form invalid pointers
2933EXP08-C. Ensure pointer arithmetic is used correctly
2934ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2934ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
2934ARR38-C. Guarantee that library functions do not form invalid pointers
2934EXP08-C. Ensure pointer arithmetic is used correctly
2950ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2951ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2952ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2953ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
2961EXP33-C. Do not read uninitialized memory
2962EXP33-C. Do not read uninitialized memory
2963EXP33-C. Do not read uninitialized memory
2966EXP33-C. Do not read uninitialized memory
2967EXP33-C. Do not read uninitialized memory
2968EXP33-C. Do not read uninitialized memory
2971EXP33-C. Do not read uninitialized memory
2972EXP33-C. Do not read uninitialized memory
2973EXP33-C. Do not read uninitialized memory
2976EXP33-C. Do not read uninitialized memory
2977EXP33-C. Do not read uninitialized memory
2978EXP33-C. Do not read uninitialized memory
2980MSC07-C. Detect and remove dead code
2980MSC12-C. Detect and remove code that has no effect or is never executed
2980MSC13-C. Detect and remove unused values
2981MSC07-C. Detect and remove dead code
2981MSC12-C. Detect and remove code that has no effect or is never executed
2981MSC13-C. Detect and remove unused values
2982MSC07-C. Detect and remove dead code
2982MSC12-C. Detect and remove code that has no effect or is never executed
2982MSC13-C. Detect and remove unused values
2983MSC07-C. Detect and remove dead code
2983MSC12-C. Detect and remove code that has no effect or is never executed
2983MSC13-C. Detect and remove unused values
2984MSC07-C. Detect and remove dead code
2984MSC12-C. Detect and remove code that has no effect or is never executed
2984MSC13-C. Detect and remove unused values
2985MSC07-C. Detect and remove dead code
2985MSC12-C. Detect and remove code that has no effect or is never executed
2985MSC13-C. Detect and remove unused values
2986MSC07-C. Detect and remove dead code
2986MSC12-C. Detect and remove code that has no effect or is never executed
2986MSC13-C. Detect and remove unused values
3002EXP37-C. Call functions with the correct number and type of arguments
3004EXP16-C. Do not compare function pointers to constant values
305INT36-C. Converting a pointer to integer or integer to pointer
306INT36-C. Converting a pointer to integer or integer to pointer
309INT36-C. Converting a pointer to integer or integer to pointer
3103INT10-C. Do not assume a positive remainder when using the % operator
3108MSC04-C. Use comments consistently and in a readable fashion
3109EXP15-C. Do not place a semicolon on the same line as an if, for, or while statement
3110MSC12-C. Detect and remove code that has no effect or is never executed
3112MSC12-C. Detect and remove code that has no effect or is never executed
3113MSC15-C. Do not depend on undefined behavior
3114MSC15-C. Do not depend on undefined behavior
3120DCL06-C. Use meaningful symbolic constants to represent literal values
3120EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3121DCL06-C. Use meaningful symbolic constants to represent literal values
3121EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3122DCL06-C. Use meaningful symbolic constants to represent literal values
3122EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3123DCL06-C. Use meaningful symbolic constants to represent literal values
3123EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3131DCL06-C. Use meaningful symbolic constants to represent literal values
3131EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3132DCL06-C. Use meaningful symbolic constants to represent literal values
3132EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions
3196MSC07-C. Detect and remove dead code
3196MSC12-C. Detect and remove code that has no effect or is never executed
3196MSC13-C. Detect and remove unused values
3200ERR33-C. Detect and handle standard library errors
3200POS54-C. Detect and handle POSIX library errors
3200EXP12-C. Do not ignore values returned by functions
3202MSC07-C. Detect and remove dead code
3202MSC12-C. Detect and remove code that has no effect or is never executed
3203MSC07-C. Detect and remove dead code
3203MSC12-C. Detect and remove code that has no effect or is never executed
3203MSC13-C. Detect and remove unused values
3204DCL00-C. Const-qualify immutable objects
3205MSC07-C. Detect and remove dead code
3205MSC12-C. Detect and remove code that has no effect or is never executed
3205MSC13-C. Detect and remove unused values
3206MSC07-C. Detect and remove dead code
3206MSC12-C. Detect and remove code that has no effect or is never executed
3206MSC13-C. Detect and remove unused values
3207MSC07-C. Detect and remove dead code
3207MSC12-C. Detect and remove code that has no effect or is never executed
3207MSC13-C. Detect and remove unused values
3210DCL19-C. Minimize the scope of variables and functions
3210MSC07-C. Detect and remove dead code
3210MSC12-C. Detect and remove code that has no effect or is never executed
3217DCL30-C. Declare objects with appropriate storage durations
3218DCL19-C. Minimize the scope of variables and functions
3219MSC07-C. Detect and remove dead code
3219MSC12-C. Detect and remove code that has no effect or is never executed
3225DCL30-C. Declare objects with appropriate storage durations
3226EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
3227DCL00-C. Const-qualify immutable objects
3229MSC07-C. Detect and remove dead code
3229MSC12-C. Detect and remove code that has no effect or is never executed
3229MSC13-C. Detect and remove unused values
3230DCL30-C. Declare objects with appropriate storage durations
3232DCL00-C. Const-qualify immutable objects
3239MSC15-C. Do not depend on undefined behavior
3305EXP36-C. Do not cast pointers into more strictly aligned pointer types
3305EXP39-C. Do not access a variable through a pointer of an incompatible type
3307EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic
3307MSC12-C. Detect and remove code that has no effect or is never executed
3311MSC15-C. Do not depend on undefined behavior
3312MSC15-C. Do not depend on undefined behavior
3314EXP43-C. Avoid undefined behavior when using restrict-qualified pointers
3314EXP45-C. Do not perform assignments in selection statements
3319MSC15-C. Do not depend on undefined behavior
3320EXP37-C. Call functions with the correct number and type of arguments
3326EXP45-C. Do not perform assignments in selection statements
3326EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
3334DCL01-C. Do not reuse variable names in subscopes
3335DCL31-C. Declare identifiers before using them
3335EXP37-C. Call functions with the correct number and type of arguments
3335DCL07-C. Include the appropriate type information in function declarators
3340FLP30-C. Do not use floating-point variables as loop counters
3344EXP45-C. Do not perform assignments in selection statements
3344EXP46-C. Do not use a bitwise operator with a Boolean-like operand
3344EXP16-C. Do not compare function pointers to constant values
3389EXP00-C. Use parentheses for precedence of operation
3390EXP00-C. Use parentheses for precedence of operation
3391EXP00-C. Use parentheses for precedence of operation
3392EXP00-C. Use parentheses for precedence of operation
3392EXP13-C. Treat relational and equality operators as if they were nonassociative
3393EXP00-C. Use parentheses for precedence of operation
3394EXP00-C. Use parentheses for precedence of operation
3395EXP00-C. Use parentheses for precedence of operation
3396EXP00-C. Use parentheses for precedence of operation
3397EXP00-C. Use parentheses for precedence of operation
3398EXP00-C. Use parentheses for precedence of operation
3399EXP00-C. Use parentheses for precedence of operation
3400EXP00-C. Use parentheses for precedence of operation
3401EXP13-C. Treat relational and equality operators as if they were nonassociative
3404MSC07-C. Detect and remove dead code
3404MSC12-C. Detect and remove code that has no effect or is never executed
3404MSC12-C. Detect and remove code that has no effect or is never executed
3408DCL07-C. Include the appropriate type information in function declarators
3409PRE02-C. Macro replacement lists should be parenthesized
341PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
3410PRE01-C. Use parentheses within macros around parameter names
3412PRE10-C. Wrap multistatement macros in a do-while loop
3412PRE11-C. Do not conclude macro definitions with a semicolon
3413PRE03-C. Prefer typedefs to defines for encoding non-pointer types
3415EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators
3416EXP45-C. Do not perform assignments in selection statements
3422MSC07-C. Detect and remove dead code
3422MSC12-C. Detect and remove code that has no effect or is never executed
3423MSC07-C. Detect and remove dead code
3423MSC12-C. Detect and remove code that has no effect or is never executed
3425MSC07-C. Detect and remove dead code
3425MSC12-C. Detect and remove code that has no effect or is never executed
3426MSC12-C. Detect and remove code that has no effect or is never executed
3427MSC12-C. Detect and remove code that has no effect or is never executed
3437MSC15-C. Do not depend on undefined behavior
3438MSC15-C. Do not depend on undefined behavior
3450DCL07-C. Include the appropriate type information in function declarators
3453PRE31-C. Avoid side effects in arguments to unsafe macros
3453PRE00-C. Prefer inline or static functions to function-like macros
3455PRE31-C. Avoid side effects in arguments to unsafe macros
3456PRE31-C. Avoid side effects in arguments to unsafe macros
3456PRE12-C. Do not define unsafe macros
3458PRE10-C. Wrap multistatement macros in a do-while loop
3470MSC07-C. Detect and remove dead code
3470MSC12-C. Detect and remove code that has no effect or is never executed
3601PRE07-C. Avoid using repeated question marks
3664MSC14-C. Do not introduce unnecessary platform dependencies
3670MEM05-C. Avoid large stack allocations
3673DCL00-C. Const-qualify immutable objects
3673DCL13-C. Declare function parameters that are pointers to values not changed by the function as const
3674ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer
3684ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer
4111EXP13-C. Treat relational and equality operators as if they were nonassociative
4112EXP13-C. Treat relational and equality operators as if they were nonassociative
4113EXP13-C. Treat relational and equality operators as if they were nonassociative
4117FLP06-C. Convert integers to floating point for floating-point operations
4118FLP06-C. Convert integers to floating point for floating-point operations
4140DCL30-C. Declare objects with appropriate storage durations
428EXP16-C. Do not compare function pointers to constant values
431EXP05-C. Do not cast away a const qualification
4401INT02-C. Understand integer conversion rules
4401INT07-C. Use only explicitly signed or unsigned char type for numeric values
4402INT02-C. Understand integer conversion rules
4403INT02-C. Understand integer conversion rules
4404INT02-C. Understand integer conversion rules
4405INT02-C. Understand integer conversion rules
4410INT02-C. Understand integer conversion rules
4412INT02-C. Understand integer conversion rules
4413STR34-C. Cast characters to unsigned char before converting to larger integer sizes
4413STR37-C. Arguments to character-handling functions must be representable as an unsigned char
4413INT02-C. Understand integer conversion rules
4414STR34-C. Cast characters to unsigned char before converting to larger integer sizes
4414STR37-C. Arguments to character-handling functions must be representable as an unsigned char
4414INT02-C. Understand integer conversion rules
4415INT02-C. Understand integer conversion rules
4420INT02-C. Understand integer conversion rules
4421INT02-C. Understand integer conversion rules
4421INT07-C. Use only explicitly signed or unsigned char type for numeric values
4422INT02-C. Understand integer conversion rules
4423INT02-C. Understand integer conversion rules
4424INT02-C. Understand integer conversion rules
4425INT02-C. Understand integer conversion rules
4430INT02-C. Understand integer conversion rules
4431INT02-C. Understand integer conversion rules
4431INT07-C. Use only explicitly signed or unsigned char type for numeric values
4432INT02-C. Understand integer conversion rules
4434INT02-C. Understand integer conversion rules
4435INT02-C. Understand integer conversion rules
4436INT02-C. Understand integer conversion rules
4437INT02-C. Understand integer conversion rules
4440INT02-C. Understand integer conversion rules
4441INT02-C. Understand integer conversion rules
4441INT07-C. Use only explicitly signed or unsigned char type for numeric values
4442INT02-C. Understand integer conversion rules
4443INT02-C. Understand integer conversion rules
4445INT02-C. Understand integer conversion rules
4446INT02-C. Understand integer conversion rules
4447INT02-C. Understand integer conversion rules
4450FLP34-C. Ensure that floating-point conversions are within range of the new type
4451FLP34-C. Ensure that floating-point conversions are within range of the new type
4451INT07-C. Use only explicitly signed or unsigned char type for numeric values
4452FLP34-C. Ensure that floating-point conversions are within range of the new type
4453FLP34-C. Ensure that floating-point conversions are within range of the new type
4454FLP34-C. Ensure that floating-point conversions are within range of the new type
4460INT02-C. Understand integer conversion rules
4461INT02-C. Understand integer conversion rules
4462FLP34-C. Ensure that floating-point conversions are within range of the new type
4463INT02-C. Understand integer conversion rules
4464INT02-C. Understand integer conversion rules
4465FLP34-C. Ensure that floating-point conversions are within range of the new type
4470INT02-C. Understand integer conversion rules
4471INT02-C. Understand integer conversion rules
4480INT02-C. Understand integer conversion rules
4481INT02-C. Understand integer conversion rules
4490INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
4491INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
4492INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
4502EXP46-C. Do not use a bitwise operator with a Boolean-like operand
4532INT13-C. Use bitwise operators only on unsigned operands
4533INT13-C. Use bitwise operators only on unsigned operands
4534INT13-C. Use bitwise operators only on unsigned operands
4543INT13-C. Use bitwise operators only on unsigned operands
4544INT13-C. Use bitwise operators only on unsigned operands
4600DCL37-C. Do not declare or define a reserved identifier
4601DCL37-C. Do not declare or define a reserved identifier
4602DCL37-C. Do not declare or define a reserved identifier
4603DCL37-C. Do not declare or define a reserved identifier
4604DCL37-C. Do not declare or define a reserved identifier
4605DCL37-C. Do not declare or define a reserved identifier
4606DCL37-C. Do not declare or define a reserved identifier
4607DCL37-C. Do not declare or define a reserved identifier
4608DCL37-C. Do not declare or define a reserved identifier
563EXP32-C. Do not access a volatile object through a nonvolatile reference
581MSC14-C. Do not introduce unnecessary platform dependencies
627DCL23-C. Guarantee that mutually visible identifiers are unique
634MSC14-C. Do not introduce unnecessary platform dependencies
674EXP32-C. Do not access a volatile object through a nonvolatile reference
674INT36-C. Converting a pointer to integer or integer to pointer
678ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer
696MEM35-C. Allocate sufficient memory for an object
776DCL23-C. Guarantee that mutually visible identifiers are unique
778DCL23-C. Guarantee that mutually visible identifiers are unique
778.779DCL40-C. Do not create incompatible declarations of the same function or object
803PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
853PRE32-C. Do not use preprocessor directives in invocations of function-like macros
874STR10-C. Do not concatenate different type of string literals
Secondary AnalysisPRE08-C. Guarantee that header file names are unique
Secondary analysisDCL05-C. Use typedefs of non-pointer types only
Secondary analysisPRE04-C. Do not reuse a standard header file name
Secondary analysisPRE09-C. Do not replace secure functions with deprecated or obsolescent functions
Warncall -wc atoiINT06-C. Use strtol() or a related function to convert a string token to an integer
Warncall -wc randMSC30-C. Do not use the rand() function for generating pseudorandom numbers
Warncall -wc removeFIO08-C. Take care when calling remove() on an open file
Warncall -wc signalSIG34-C. Do not call signal() from within interruptible signal handlers
Warncall -wc strcpySTR07-C. Use the bounds-checking interfaces for string manipulation
Warncall -wc systemENV33-C. Do not call system()
Warncall -wc vforkPOS33-C. Do not use vfork()
Warncall for scanf etcINT05-C. Do not use input functions to convert character data if they cannot handle all possible inputs
Warncall removeFIO01-C. Be careful using functions that use file names for identification
fopenFIO01-C. Be careful using functions that use file names for identification
freopenFIO01-C. Be careful using functions that use file names for identification
mktempFIO21-C. Do not create temporary files in shared directories
renameFIO01-C. Be careful using functions that use file names for identification
tmpfileFIO21-C. Do not create temporary files in shared directories
tmpnam_sFIO21-C. Do not create temporary files in shared directories
warncall -wc renameFIO10-C. Take care when using the rename() function
warncall -wc systemENV03-C. Sanitize the environment when invoking external programs
warncall fopenFIO06-C. Create files with appropriate access permissions
warncall for 'gets'STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator
warncall for fopen and fopen_sFIO03-C. Do not make assumptions about fopen() and file creation
warncall for putenvPOS34-C. Do not call putenv() with a pointer to an automatic variable as the argument
warncall for reallocMEM03-C. Clear sensitive information stored in reusable resources
warncall for signalSIG00-C. Mask signals handled by noninterruptible signal handlers
warncall for signalSIG01-C. Understand implementation-specific details regarding signal handler persistence
warncall tmpnamFIO21-C. Do not create temporary files in shared directories

>

  • No labels