|
clang 22.0.0git
|
Put a diagnostic on return statement of all inlined functions for which the region of interest RegionOfInterest was passed into, but not written inside, and it has caused an undefined read or a null pointer dereference outside.
More...
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"
Public Member Functions | |
| NoStoreFuncVisitor (const SubRegion *R, bugreporter::TrackingKind TKind=bugreporter::TrackingKind::Thorough) | |
| void | Profile (llvm::FoldingSetNodeID &ID) const override |
| Public Member Functions inherited from clang::ento::NoStateChangeFuncVisitor | |
| NoStateChangeFuncVisitor (bugreporter::TrackingKind TKind) | |
| PathDiagnosticPieceRef | VisitNode (const ExplodedNode *N, BugReporterContext &BR, PathSensitiveBugReport &R) final |
| Return a diagnostic piece which should be associated with the given node. | |
| Public Member Functions inherited from clang::ento::BugReporterVisitor | |
| BugReporterVisitor ()=default | |
| BugReporterVisitor (const BugReporterVisitor &)=default | |
| BugReporterVisitor (BugReporterVisitor &&) | |
| BugReporterVisitor & | operator= (const BugReporterVisitor &)=delete |
| BugReporterVisitor & | operator= (BugReporterVisitor &&)=delete |
| virtual | ~BugReporterVisitor () |
| virtual void | finalizeVisitor (BugReporterContext &BRC, const ExplodedNode *EndPathNode, PathSensitiveBugReport &BR) |
| Last function called on the visitor, no further calls to VisitNode would follow. | |
| virtual PathDiagnosticPieceRef | getEndPath (BugReporterContext &BRC, const ExplodedNode *N, PathSensitiveBugReport &BR) |
| Provide custom definition for the final diagnostic piece on the path - the piece, which is displayed before the path is expanded. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from clang::ento::BugReporterVisitor | |
| static PathDiagnosticPieceRef | getDefaultEndPath (const BugReporterContext &BRC, const ExplodedNode *N, const PathSensitiveBugReport &BR) |
| Generates the default final diagnostic piece. | |
| Protected Member Functions inherited from clang::ento::NoStateChangeFuncVisitor | |
| virtual bool | wasModifiedInFunction (const ExplodedNode *CallEnterN, const ExplodedNode *CallExitEndN) |
| Protected Attributes inherited from clang::ento::NoStateChangeFuncVisitor | |
| bugreporter::TrackingKind | TKind |
Put a diagnostic on return statement of all inlined functions for which the region of interest RegionOfInterest was passed into, but not written inside, and it has caused an undefined read or a null pointer dereference outside.
Definition at line 725 of file BugReporterVisitors.h.
|
inline |
Definition at line 739 of file BugReporterVisitors.h.
References clang::ento::NoStateChangeFuncVisitor::NoStateChangeFuncVisitor(), clang::ento::bugreporter::Thorough, and clang::ento::NoStateChangeFuncVisitor::TKind.
|
inlineoverridevirtual |
Implements clang::ento::BugReporterVisitor.
Definition at line 747 of file BugReporterVisitors.h.