Cppcheck
CheckBufferOverrun Member List

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) overrideCheckBufferOverrunprivatevirtual
analyseWholeProgram1(const std::map< std::string, std::list< const CTU::FileInfo::CallBase * >> &callsMap, const CTU::FileInfo::UnsafeUsage &unsafeUsage, int type, ErrorLogger &errorLogger)CheckBufferOverrunprivatestatic
argumentSize()CheckBufferOverrunprivate
argumentSizeError(const Token *tok, const std::string &functionName, nonneg int paramIndex, const std::string &paramExpression, const Variable *paramVar, const Variable *functionArg)CheckBufferOverrunprivate
arrayIndex()CheckBufferOverrunprivate
arrayIndexError(const Token *tok, const std::vector< Dimension > &dimensions, const std::vector< ValueFlow::Value > &indexes)CheckBufferOverrunprivate
arrayIndexThenCheck()CheckBufferOverrunprivate
arrayIndexThenCheckError(const Token *tok, const std::string &indexName)CheckBufferOverrunprivate
bufferOverflow()CheckBufferOverrunprivate
bufferOverflowError(const Token *tok, const ValueFlow::Value *value, Certainty certainty)CheckBufferOverrunprivate
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
CheckBufferOverrun()CheckBufferOverruninline
CheckBufferOverrun(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckBufferOverruninlineprivate
classInfo() const overrideCheckBufferOverruninlineprivatevirtual
getBufferSize(const Token *bufTok) constCheckBufferOverrunprivate
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckBufferOverruninlineprivatevirtual
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) constCheckprotected
getFileInfo(const Tokenizer &tokenizer, const Settings &settings) const overrideCheckBufferOverrunprivatevirtual
getMessageId(const ValueFlow::Value &value, const char id[])Checkprotectedstatic
instances()Checkstatic
isCtuUnsafeArrayIndex(const Settings &settings, const Token *argtok, MathLib::bigint *offset)CheckBufferOverrunprivatestatic
isCtuUnsafeBufferUsage(const Settings &settings, const Token *argtok, MathLib::bigint *offset, int type)CheckBufferOverrunprivatestatic
isCtuUnsafePointerArith(const Settings &settings, const Token *argtok, MathLib::bigint *offset)CheckBufferOverrunprivatestatic
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const overrideCheckBufferOverrunprivatevirtual
logChecker(const char id[])Checkprotected
mErrorLoggerCheckprotected
mNameCheckprivate
mSettingsCheckprotected
mTokenizerCheckprotected
myName()CheckBufferOverruninlineprivatestatic
name() constCheckinline
negativeArraySize()CheckBufferOverrunprivate
negativeArraySizeError(const Token *tok)CheckBufferOverrunprivate
negativeIndexError(const Token *tok, const std::vector< Dimension > &dimensions, const std::vector< ValueFlow::Value > &indexes)CheckBufferOverrunprivate
negativeMemoryAllocationSizeError(const Token *tok, const ValueFlow::Value *value)CheckBufferOverrunprivate
objectIndex()CheckBufferOverrunprivate
objectIndexError(const Token *tok, const ValueFlow::Value *v, bool known)CheckBufferOverrunprivate
operator=(const Check &)=deleteCheck
pointerArithmetic()CheckBufferOverrunprivate
pointerArithmeticError(const Token *tok, const Token *indexToken, const ValueFlow::Value *indexValue)CheckBufferOverrunprivate
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg)Checkinlineprotected
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty)Checkinlineprotected
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg)Checkinlineprotected
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty)Checkprotected
reportError(const ErrorPath &errorPath, Severity severity, const char id[], const std::string &msg, const CWE &cwe, Certainty certainty)Checkprotected
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) overrideCheckBufferOverruninlineprivatevirtual
stringNotZeroTerminated()CheckBufferOverrunprivate
terminateStrncpyError(const Token *tok, const std::string &varname)CheckBufferOverrunprivate
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual