Cppcheck
|
This is the complete list of members for CheckString, including all inherited members.
alwaysTrueFalseStringCompareError(const Token *tok, const std::string &str1, const std::string &str2) | CheckString | private |
alwaysTrueStringVariableCompareError(const Token *tok, const std::string &str1, const std::string &str2) | CheckString | private |
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &) | Check | inlinevirtual |
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 | |
checkAlwaysTrueOrFalseStringCompare() | CheckString | private |
checkIncorrectStringCompare() | CheckString | private |
CheckString() | CheckString | inline |
CheckString(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckString | inlineprivate |
checkSuspiciousStringCompare() | CheckString | private |
classInfo() const override | CheckString | inlineprivatevirtual |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckString | 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 |
incorrectStringBooleanError(const Token *tok, const std::string &string) | CheckString | private |
incorrectStringCompareError(const Token *tok, const std::string &func, const std::string &string) | CheckString | private |
instances() | Check | static |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckString | inlineprivatestatic |
name() const | Check | inline |
operator=(const Check &)=delete | Check | |
overlappingStrcmp() | CheckString | private |
overlappingStrcmpError(const Token *eq0, const Token *ne0) | CheckString | 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 | CheckString | inlineprivatevirtual |
sprintfOverlappingData() | CheckString | private |
sprintfOverlappingDataError(const Token *funcTok, const Token *tok, const std::string &varname) | CheckString | private |
stringLiteralWrite() | CheckString | private |
stringLiteralWriteError(const Token *tok, const Token *strValue) | CheckString | private |
strPlusChar() | CheckString | private |
strPlusCharError(const Token *tok) | CheckString | private |
suspiciousStringCompareError(const Token *tok, const std::string &var, bool isLong) | CheckString | private |
suspiciousStringCompareError_char(const Token *tok, const std::string &var) | CheckString | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |