Go to the source code of this file.
static const Expr * peelOffPointerArithmetic (const BinaryOperator *B) static const Expr * peelOffOuterExpr (const Expr *Ex, const ExplodedNode *N) static const VarDecl * getVarDeclForExpression (const Expr *E) static const MemRegion * getLocationRegionIfReference (const Expr *E, const ExplodedNode *N, bool LookingForReference=true) static bool hasVisibleUpdate (const ExplodedNode *LeftNode, SVal LeftVal, const ExplodedNode *RightNode, SVal RightVal) Comparing internal representations of symbolic values (via SVal::operator==()) is a valid way to check if the value was updated, unless it's a LazyCompoundVal that may have a different internal representation every time it is loaded from the state.N
represents the DeclStmt declaring and initializing VR
.
R
with a bad value.
Definition at line 1935 of file BugReporterVisitors.cpp.
References clang::AnalyzerOptions::AnalysisDiagOpt, clang::ento::PathDiagnosticLocation::createBegin(), clang::ento::BugReporterContext::getAnalyzerOptions(), clang::ento::BugReporterContext::getASTContext(), clang::ASTContext::getLangOpts(), clang::ento::ExplodedNode::getLocationContext(), clang::ento::BugReporterContext::getSourceManager(), clang::Stmt::getSourceRange(), clang::Lexer::getSourceText(), clang::CharSourceRange::getTokenRange(), and clang::PD_NONE.
◆ findNodeForExpression() ◆ getConcreteIntegerValue() ◆ getLocationRegionIfReference() ◆ getMacroName() ◆ getMatchingCallExitEnd() ◆ getSValForVar() ◆ getVarDeclForExpression() static const VarDecl * getVarDeclForExpression ( const Expr * E ) static ◆ hasVisibleUpdate() ◆ isAssertlikeBlock() ◆ isFunctionMacroExpansion() ◆ isInitializationOfVar() ◆ isInterestingExpr() ◆ isObjCPointer() [1/2] ◆ isObjCPointer() [2/2] ◆ isPointerToConst() ◆ isTrivialCopyOrMoveCtor() ◆ isVarAnInterestingCondition() ◆ peelOffOuterExpr() ◆ peelOffPointerArithmetic() ◆ potentiallyWritesIntoIvar() ◆ showBRDefaultDiagnostics() static void showBRDefaultDiagnostics ( llvm::raw_svector_ostream & OS, StoreInfo SI ) static ◆ showBRDiagnostics() static void showBRDiagnostics ( llvm::raw_svector_ostream & OS, StoreInfo SI ) staticShow diagnostics for initializing or declaring a region R
with a bad value.
Definition at line 1226 of file BugReporterVisitors.cpp.
References clang::ento::bugreporter::StoreInfo::BlockCapture, clang::ento::MemRegion::canPrintPretty(), clang::ento::bugreporter::StoreInfo::Dest, clang::ento::SVal::getAs(), clang::ento::ExplodedNode::getLocationAs(), clang::StmtPoint::getStmt(), clang::ento::bugreporter::StoreInfo::Initialization, isObjCPointer(), clang::ento::SVal::isUndef(), clang::ento::bugreporter::StoreInfo::Origin, clang::ento::OS, clang::ento::MemRegion::printPretty(), clang::ento::bugreporter::StoreInfo::StoreKind, clang::ento::bugreporter::StoreInfo::StoreSite, and clang::ento::bugreporter::StoreInfo::Value.
◆ showBRParamDiagnostics() static void showBRParamDiagnostics ( llvm::raw_svector_ostream & OS, StoreInfo SI ) staticDisplay diagnostics for passing bad region as a parameter.
Definition at line 1283 of file BugReporterVisitors.cpp.
References clang::ento::MemRegion::canPrintPretty(), D, clang::ento::bugreporter::StoreInfo::Dest, clang::ento::SVal::getAs(), isObjCPointer(), clang::ento::SVal::isUndef(), clang::ObjCSelf, clang::ento::bugreporter::StoreInfo::Origin, clang::ento::OS, clang::ento::MemRegion::printPretty(), and clang::ento::bugreporter::StoreInfo::Value.
◆ tryExtractInitializerFromList() ◆ wasRegionOfInterestModifiedAt() ◆ WillBeUsedForACondition llvm::StringLiteral WillBeUsedForACondition staticRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4