Cppcheck
|
This is the complete list of members for CheckBufferOverrun, including all inherited members.
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< Check::FileInfo * > &fileInfo, const Settings &settings, ErrorLogger &errorLogger) override | CheckBufferOverrun | privatevirtual |
analyseWholeProgram1(const std::map< std::string, std::list< const CTU::FileInfo::CallBase * >> &callsMap, const CTU::FileInfo::UnsafeUsage &unsafeUsage, int type, ErrorLogger &errorLogger) | CheckBufferOverrun | privatestatic |
argumentSize() | CheckBufferOverrun | private |
argumentSizeError(const Token *tok, const std::string &functionName, nonneg int paramIndex, const std::string ¶mExpression, const Variable *paramVar, const Variable *functionArg) | CheckBufferOverrun | private |
arrayIndex() | CheckBufferOverrun | private |
arrayIndexError(const Token *tok, const std::vector< Dimension > &dimensions, const std::vector< ValueFlow::Value > &indexes) | CheckBufferOverrun | private |
arrayIndexThenCheck() | CheckBufferOverrun | private |
arrayIndexThenCheckError(const Token *tok, const std::string &indexName) | CheckBufferOverrun | private |
bufferOverflow() | CheckBufferOverrun | private |
bufferOverflowError(const Token *tok, const ValueFlow::Value *value, Certainty certainty) | CheckBufferOverrun | private |
Check(const std::string &aname) | Check | explicit |
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | Check | inlineprotected |
Check(const Check &)=delete | Check | |
CheckBufferOverrun() | CheckBufferOverrun | inline |
CheckBufferOverrun(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckBufferOverrun | inlineprivate |
classInfo() const override | CheckBufferOverrun | inlineprivatevirtual |
getBufferSize(const Token *bufTok) const | CheckBufferOverrun | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckBufferOverrun | inlineprivatevirtual |
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) const | Check | protected |
getFileInfo(const Tokenizer &tokenizer, const Settings &settings) const override | CheckBufferOverrun | privatevirtual |
getMessageId(const ValueFlow::Value &value, const char id[]) | Check | protectedstatic |
instances() | Check | static |
isCtuUnsafeArrayIndex(const Settings &settings, const Token *argtok, MathLib::bigint *offset) | CheckBufferOverrun | privatestatic |
isCtuUnsafeBufferUsage(const Settings &settings, const Token *argtok, MathLib::bigint *offset, int type) | CheckBufferOverrun | privatestatic |
isCtuUnsafePointerArith(const Settings &settings, const Token *argtok, MathLib::bigint *offset) | CheckBufferOverrun | privatestatic |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const override | CheckBufferOverrun | privatevirtual |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckBufferOverrun | inlineprivatestatic |
name() const | Check | inline |
negativeArraySize() | CheckBufferOverrun | private |
negativeArraySizeError(const Token *tok) | CheckBufferOverrun | private |
negativeIndexError(const Token *tok, const std::vector< Dimension > &dimensions, const std::vector< ValueFlow::Value > &indexes) | CheckBufferOverrun | private |
negativeMemoryAllocationSizeError(const Token *tok, const ValueFlow::Value *value) | CheckBufferOverrun | private |
objectIndex() | CheckBufferOverrun | private |
objectIndexError(const Token *tok, const ValueFlow::Value *v, bool known) | CheckBufferOverrun | private |
operator=(const Check &)=delete | Check | |
pointerArithmetic() | CheckBufferOverrun | private |
pointerArithmeticError(const Token *tok, const Token *indexToken, const ValueFlow::Value *indexValue) | CheckBufferOverrun | private |
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg) | Check | inlineprotected |
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty) | Check | inlineprotected |
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg) | Check | inlineprotected |
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty) | Check | protected |
reportError(const ErrorPath &errorPath, Severity severity, const char id[], const std::string &msg, const CWE &cwe, Certainty certainty) | Check | protected |
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) override | CheckBufferOverrun | inlineprivatevirtual |
stringNotZeroTerminated() | CheckBufferOverrun | private |
terminateStrncpyError(const Token *tok, const std::string &varname) | CheckBufferOverrun | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |