clang 20.0.0git
|
#include "clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtCXX.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "clang/Analysis/CFG.h"
#include "clang/Analysis/ProgramPoint.h"
#include "clang/Basic/LLVM.h"
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/WorkList.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cassert>
#include <memory>
#include <optional>
#include <utility>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "CoreEngine" |
Functions | |
STATISTIC (NumSteps, "The # of steps executed.") | |
STATISTIC (NumSTUSteps, "The # of STU steps executed.") | |
STATISTIC (NumCTUSteps, "The # of CTU steps executed.") | |
STATISTIC (NumReachedMaxSteps, "The # of times we reached the max number of steps.") | |
STATISTIC (NumPathsExplored, "The # of paths explored by the analyzer.") | |
static std::unique_ptr< WorkList > | generateWorkList (AnalyzerOptions &Opts) |
#define DEBUG_TYPE "CoreEngine" |
Definition at line 42 of file CoreEngine.cpp.
|
static |
Definition at line 57 of file CoreEngine.cpp.
References clang::AnalyzerOptions::getExplorationStrategy(), clang::ento::WorkList::makeBFS(), clang::ento::WorkList::makeBFSBlockDFSContents(), clang::ento::WorkList::makeDFS(), clang::ento::WorkList::makeUnexploredFirst(), clang::ento::WorkList::makeUnexploredFirstPriorityLocationQueue(), and clang::ento::WorkList::makeUnexploredFirstPriorityQueue().
STATISTIC | ( | NumCTUSteps | , |
"The # of CTU steps executed." | |||
) |
STATISTIC | ( | NumPathsExplored | , |
"The # of paths explored by the analyzer." | |||
) |
STATISTIC | ( | NumReachedMaxSteps | , |
"The # of times we reached the max number of steps." | |||
) |
STATISTIC | ( | NumSteps | , |
"The # of steps executed." | |||
) |
STATISTIC | ( | NumSTUSteps | , |
"The # of STU steps executed." | |||
) |