Improved checkBufferOverrun::classInfo (#4667)

This commit is contained in:
PKEuS 2014-05-22 09:13:29 +02:00
parent 35528ca708
commit 3275881056
1 changed files with 11 additions and 1 deletions

View File

@ -263,7 +263,17 @@ private:
}
std::string classInfo() const {
return "out of bounds checking\n";
return "Out of bounds checking:\n"
"* Array index out of bounds detection by value flow analysis\n"
"* Dangerous usage of strncat()\n"
"* char constant passed as size to function like memset()\n"
"* strncpy() leaving string unterminated\n"
"* Accessing array with negative index\n"
"* Unsafe usage of main(argv, argc) arguments\n"
"* Accessing array with index variable before checking its value\n"
"* Check for large enough arrays being passed to functions\n"
"* Writing beyond bounds of a buffer\n"
"* Allocating memory with a negative size\n";
}
};
/// @}