Cppcheck
CheckLeakAutoVar Member List

This is the complete list of members for CheckLeakAutoVar, including all inherited members.

analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &)Checkinlinevirtual
changeAllocStatus(VarInfo &varInfo, const VarInfo::AllocInfo &allocation, const Token *tok, const Token *arg)CheckLeakAutoVarprivate
changeAllocStatusIfRealloc(std::map< int, VarInfo::AllocInfo > &alloctype, const Token *fTok, const Token *retTok) constCheckLeakAutoVarprivate
check()CheckLeakAutoVarprivate
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
CheckLeakAutoVar()CheckLeakAutoVarinline
CheckLeakAutoVar(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckLeakAutoVarinlineprivate
checkScope(const Token *const startToken, VarInfo &varInfo, std::set< int > notzero, nonneg int recursiveCount)CheckLeakAutoVarprivate
checkTokenInsideExpression(const Token *const tok, VarInfo &varInfo, bool inFuncCall=false)CheckLeakAutoVarprivate
classInfo() const overrideCheckLeakAutoVarinlineprivatevirtual
configurationInfo(const Token *tok, const std::pair< const Token *, VarInfo::Usage > &functionUsage)CheckLeakAutoVarprivate
deallocReturnError(const Token *tok, const Token *deallocTok, const std::string &varname)CheckLeakAutoVarprivate
deallocUseError(const Token *tok, const std::string &varname) constCheckLeakAutoVarprivate
doubleFreeError(const Token *tok, const Token *prevFreeTok, const std::string &varname, int type)CheckLeakAutoVarprivate
functionCall(const Token *tokName, const Token *tokOpeningPar, VarInfo &varInfo, const VarInfo::AllocInfo &allocation, const Library::AllocFunc *af)CheckLeakAutoVarprivate
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckLeakAutoVarinlineprivatevirtual
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) constCheckprotected
getFileInfo(const Tokenizer &, const Settings &) constCheckinlinevirtual
getMessageId(const ValueFlow::Value &value, const char id[])Checkprotectedstatic
instances()Checkstatic
leakError(const Token *tok, const std::string &varname, int type) constCheckLeakAutoVarprivate
leakIfAllocated(const Token *vartok, const VarInfo &varInfo)CheckLeakAutoVarprivate
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) constCheckinlinevirtual
logChecker(const char id[])Checkprotected
mErrorLoggerCheckprotected
mismatchError(const Token *deallocTok, const Token *allocTok, const std::string &varname) constCheckLeakAutoVarprivate
mNameCheckprivate
mSettingsCheckprotected
mTokenizerCheckprotected
myName()CheckLeakAutoVarinlineprivatestatic
name() constCheckinline
operator=(const Check &)=deleteCheck
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
ret(const Token *tok, VarInfo &varInfo, const bool isEndOfScope=false)CheckLeakAutoVarprivate
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) overrideCheckLeakAutoVarinlineprivatevirtual
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual