Cppcheck
|
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 &) | Check | inlinevirtual |
changeAllocStatus(VarInfo &varInfo, const VarInfo::AllocInfo &allocation, const Token *tok, const Token *arg) | CheckLeakAutoVar | private |
changeAllocStatusIfRealloc(std::map< int, VarInfo::AllocInfo > &alloctype, const Token *fTok, const Token *retTok) const | CheckLeakAutoVar | private |
check() | CheckLeakAutoVar | 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 | |
CheckLeakAutoVar() | CheckLeakAutoVar | inline |
CheckLeakAutoVar(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckLeakAutoVar | inlineprivate |
checkScope(const Token *const startToken, VarInfo &varInfo, std::set< int > notzero, nonneg int recursiveCount) | CheckLeakAutoVar | private |
checkTokenInsideExpression(const Token *const tok, VarInfo &varInfo, bool inFuncCall=false) | CheckLeakAutoVar | private |
classInfo() const override | CheckLeakAutoVar | inlineprivatevirtual |
configurationInfo(const Token *tok, const std::pair< const Token *, VarInfo::Usage > &functionUsage) | CheckLeakAutoVar | private |
deallocReturnError(const Token *tok, const Token *deallocTok, const std::string &varname) | CheckLeakAutoVar | private |
deallocUseError(const Token *tok, const std::string &varname) const | CheckLeakAutoVar | private |
doubleFreeError(const Token *tok, const Token *prevFreeTok, const std::string &varname, int type) | CheckLeakAutoVar | private |
functionCall(const Token *tokName, const Token *tokOpeningPar, VarInfo &varInfo, const VarInfo::AllocInfo &allocation, const Library::AllocFunc *af) | CheckLeakAutoVar | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckLeakAutoVar | inlineprivatevirtual |
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) const | Check | protected |
getFileInfo(const Tokenizer &, const Settings &) const | Check | inlinevirtual |
getMessageId(const ValueFlow::Value &value, const char id[]) | Check | protectedstatic |
instances() | Check | static |
leakError(const Token *tok, const std::string &varname, int type) const | CheckLeakAutoVar | private |
leakIfAllocated(const Token *vartok, const VarInfo &varInfo) | CheckLeakAutoVar | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
mismatchError(const Token *deallocTok, const Token *allocTok, const std::string &varname) const | CheckLeakAutoVar | private |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckLeakAutoVar | inlineprivatestatic |
name() const | Check | inline |
operator=(const Check &)=delete | Check | |
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 |
ret(const Token *tok, VarInfo &varInfo, const bool isEndOfScope=false) | CheckLeakAutoVar | private |
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) override | CheckLeakAutoVar | inlineprivatevirtual |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |