Home
last modified time | relevance | path

Searched refs:ExplodedGraph (Results 1 – 21 of 21) sorted by relevance

/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp42 ExplodedGraph::ExplodedGraph() = default;
44 ExplodedGraph::~ExplodedGraph() = default;
50 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { in isInterestingLValueExpr()
56 bool ExplodedGraph::shouldCollect(const ExplodedNode *node) { in shouldCollect()
153 void ExplodedGraph::collectNode(ExplodedNode *node) { in collectNode()
169 void ExplodedGraph::reclaimRecentlyAllocatedNodes() { in reclaimRecentlyAllocatedNodes()
204 void ExplodedNode::addPredecessor(ExplodedNode *V, ExplodedGraph &G) { in addPredecessor()
219 void ExplodedNode::NodeGroup::addNode(ExplodedNode *N, ExplodedGraph &G) { in addNode()
392 ExplodedNode *ExplodedGraph::getNode(const ProgramPoint &L, in getNode()
430 ExplodedNode *ExplodedGraph::createUncachedNode(const ProgramPoint &L, in createUncachedNode()
[all …]
H A DBugReporter.cpp42 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
220 std::unique_ptr<const ExplodedGraph> BugPath;
242 BugReporterContext BRC, std::unique_ptr<ExplodedGraph> BugPath,
2000 BugReporterContext BRC, std::unique_ptr<ExplodedGraph> BugPath, in generate()
2476 const ExplodedGraph &PathSensitiveBugReporter::getGraph() const { in ~BugReporter()
2516 /// A wrapper around an ExplodedGraph that contains a single path from the root
2520 std::unique_ptr<ExplodedGraph> BugPath;
2525 /// A wrapper around an ExplodedGraph whose leafs are all error nodes. Can
2528 std::unique_ptr<ExplodedGraph> TrimmedGraph;
2535 /// Since the getErrorNode() or BugReport refers to the original ExplodedGraph, in operator ()()
[all...]
H A DCoreEngine.cpp25 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
H A DExprEngine.cpp11 // functions and build the ExplodedGraph at the expression level.
52 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
235 // Enable eager node reclamation when constructing the ExplodedGraph. in ExprEngine()
1110 // Reclaim any unnecessary nodes in the ExplodedGraph. in ProcessStmt()
3822 struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits { in nodeHasBugReport()
3866 static bool isNodeHidden(const ExplodedNode *N, const ExplodedGraph *G) { in getNodeLabel()
3870 static std::string getNodeLabel(const ExplodedNode *N, ExplodedGraph *G){ in getNodeLabel()
3947 std::unique_ptr<ExplodedGraph> TrimmedG(G.trim(Nodes));
3950 llvm::errs() << "warning: Trimmed ExplodedGraph is empty.\n"; in GDMIndex()
H A DCheckerManager.cpp400 void CheckerManager::runCheckersForEndAnalysis(ExplodedGraph &G, in runCheckersForEndAnalysis()
H A DBugReporterVisitors.cpp40 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
417 "This function is to be used on the trimmed ExplodedGraph!"); in getMatchingCallExitEnd()
2162 // we took (true/false) by looking at the ExplodedGraph. in peelOffOuterExpr()
2350 if (ExplodedGraph::isInterestingLValueExpr(Inner)) { in handle()
2416 /// This will search back through the ExplodedGraph, starting from the given
2537 if (ExplodedGraph::isInterestingLValueExpr(Inner)) in handle()
/freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h55 class ExplodedGraph; variable
70 friend class ExplodedGraph; variable
107 void addNode(ExplodedNode *N, ExplodedGraph &G);
196 void addPredecessor(ExplodedNode *V, ExplodedGraph &G);
303 class ExplodedGraph {
345 ExplodedGraph();
346 ~ExplodedGraph();
365 std::unique_ptr<ExplodedGraph> MakeEmptyGraph() const { in MakeEmptyGraph()
366 return std::make_unique<ExplodedGraph>(); in MakeEmptyGraph()
434 std::unique_ptr<ExplodedGraph>
[all …]
H A DExprEngine.h11 // functions and build the ExplodedGraph at the expression level.
148 ExplodedGraph &G;
245 /// Visualize the ExplodedGraph created by executing the simulation.
248 /// Visualize a trimmed ExplodedGraph that only contains paths to the given
253 /// in the ExplodedGraph.
256 ExplodedGraph &getGraph() { return G; }
257 const ExplodedGraph &getGraph() const { return G; }
H A DCoreEngine.h24 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
49 /// analysis. It traverses the CFG and generates the ExplodedGraph.
76 mutable ExplodedGraph G;
85 /// These are used to record for key nodes in the ExplodedGraph the
145 ExplodedGraph &getGraph() { return G; } in getGraph()
231 /// ExplodedGraph.
290 /// Generates a node in the ExplodedGraph.
299 /// Generates a sink in the ExplodedGraph.
H A DProgramState.h80 friend class ExplodedGraph; variable
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp38 void checkEndAnalysis(ExplodedGraph &G, BugReporter &B,ExprEngine &Eng) const;
42 void AnalyzerStatsChecker::checkEndAnalysis(ExplodedGraph &G, in checkEndAnalysis()
H A DUnreachableCodeChecker.cpp24 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
35 void checkEndAnalysis(ExplodedGraph &G, BugReporter &B,
49 void UnreachableCodeChecker::checkEndAnalysis(ExplodedGraph &G, in checkEndAnalysis()
61 // Iterate over ExplodedGraph in checkEndAnalysis()
H A DCheckerDocumentation.cpp199 /// Called after all the paths in the ExplodedGraph reach end of path
208 void checkEndAnalysis(ExplodedGraph &G,
H A DAnalysisOrderChecker.cpp175 void checkEndAnalysis(ExplodedGraph &G, BugReporter &BR, in checkEndAnalysis()
H A DDebugCheckers.cpp303 void checkEndAnalysis(ExplodedGraph &G, BugReporter &B,ExprEngine &Eng) const { in checkEndAnalysis()
H A DExprInspectionChecker.cpp73 void checkEndAnalysis(ExplodedGraph &G, BugReporter &BR,
411 void ExprInspectionChecker::checkEndAnalysis(ExplodedGraph &G, BugReporter &BR, in checkEndAnalysis()
/freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h46 class ExplodedGraph; variable
346 void runCheckersForEndAnalysis(ExplodedGraph &G, BugReporter &BR,
498 CheckerFn<void (ExplodedGraph &, BugReporter &, ExprEngine &)>;
H A DChecker.h226 static void _checkEndAnalysis(void *checker, ExplodedGraph &G, in _checkEndAnalysis()
H A DAnalyzerOptions.def396 "How often nodes in the ExplodedGraph should be recycled to save memory. "
/freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h25 #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
59 class ExplodedGraph; variable
296 /// The ExplodedGraph node against which the report was thrown. It corresponds
697 const ExplodedGraph &getGraph() const;
809 // and display them in the ExplodedGraph dump by
/freebsd-src/lib/clang/libclang/
H A DMakefile788 SRCS_FUL+= StaticAnalyzer/Core/ExplodedGraph.cpp