"LCLint has determined that the following statement is true after the function, ",
0, 0
},
+
+ {
+ FK_NT, FK_MEMORY, modeFlag,
+ "parenconstraint",
+ FLG_PARENCONSTRAINT,
+ "parenthesize constraint term",
+ "This flag is for debugging. This flag causes LCLint to fully parentheses constraints, ",
+ 0, 0
+ },
+
{
FK_NT, FK_MEMORY, modeFlag,
"debugfcnconstraint",
FLG_DEBUGFUNCTIONCONSTRAINT,
"debuging constraint flas",
- "This flag is for debuging. It causes lclint to perform buffer overflow checking even if the error will be surpressed. Normal buffer overflow checking will only be performed if errors would be printed. ",
+ "This flag is for debuging. It causes lclint to perform buffer overflow checking even if the errors would be surpressed. Normally buffer overflow checking will only be performed if the errors would be printed. ",
+ 0, 0
+ },
+
+ {
+ FK_NT, FK_MEMORY, modeFlag,
+ "arraybounds",
+ FLG_ARRAYBOUNDS,
+ "Possible out-of-bounds store. Unable to resolve constraint:",
+ "LCLint was unable to resolve a constraint at the top of the function. If code is correct consider using explict annotation assertions, ",
+ 0, 0
+ },
+ {
+ FK_NT, FK_MEMORY, modeFlag,
+ "arrayboundsread",
+ FLG_ARRAYBOUNDSREAD,
+ "Possible out-of-bounds read. Unable to resolve constraint:",
+ "LCLint was unable to resolve a constraint at the top of the function. If code is correct consider using explict annotation assertions, ",
0, 0
},
+
{
FK_NT, FK_MEMORY, modeFlag,
"fcnconstraint",
"FLT_EPSILON or DBL_EPSILON.",
0, 0,
},
+ {
+ FK_OPS, FK_NONE, modeFlag,
+ "unsignedcompare",
+ FLG_UNSIGNEDCOMPARE,
+ "comparison using <, <=, >= between an unsigned integral and zero constant",
+ "An unsigned value is used in a comparison with zero in a way that is either a bug or confusing.",
+ 0, 0,
+ },
{
FK_OPS, FK_POINTER, modeFlag,
"ptrarith",
"Non-reentrant function should not be used in multithreaded code.",
0, 0
},
+ {
+ FK_WARNUSE, FK_SECURITY, modeFlag,
+ "portability",
+ FLG_PORTABILITY,
+ "function may have undefined behavior",
+ "Use of function that may have implementation-dependent behavior.",
+ 0, 0
+ },
+ {
+ FK_WARNUSE, FK_SECURITY, modeFlag,
+ "unixstandard",
+ FLG_UNIXSTANDARD,
+ "function is not required in Standard UNIX Specification",
+ "Use of function that need not be provided by UNIX implementations",
+ 0, 0
+ },
{
FK_WARNUSE, FK_SECURITY, modeFlag,
"superuser",
"Call to function restricted to superusers.",
0, 0
},
+ {
+ FK_WARNUSE, FK_SECURITY, modeFlag,
+ "implementationoptional",
+ FLG_IMPLEMENTATIONOPTIONAL,
+ "declarator is implementation optional (ISO99 does not require an implementation to provide it)",
+ "Use of a declarator that is implementation optional, not required by ISO99.",
+ 0, 0
+ },
} ;