clang API Documentation
| typedef ConstraintManager*(* clang::ento::ConstraintManagerCreator)(ProgramStateManager &, SubEngine &) |
Definition at line 40 of file ProgramState.h.
| typedef llvm::PointerUnion<const LocationContext*, AnalysisDeclContext*> clang::ento::LocationOrAnalysisDeclContext |
Definition at line 99 of file PathDiagnostic.h.
| typedef IntrusiveRefCntPtr<const ProgramState> clang::ento::ProgramStateRef |
Definition at line 38 of file ProgramState_Fwd.h.
| typedef llvm::DenseSet<const Decl*> clang::ento::SetOfConstDecls |
Definition at line 26 of file FunctionSummary.h.
| typedef std::deque<Decl*> clang::ento::SetOfDecls |
Definition at line 25 of file FunctionSummary.h.
| typedef const void* clang::ento::Store |
Store - This opaque type encapsulates an immutable mapping from locations to values. At a high-level, it represents the symbolic memory model. Different subclasses of StoreManager may choose different types to represent the locations and values.
Definition at line 26 of file StoreRef.h.
| typedef StoreManager*(* clang::ento::StoreManagerCreator)(ProgramStateManager &) |
Definition at line 42 of file ProgramState.h.
| typedef unsigned clang::ento::SymbolID |
Definition at line 104 of file SymbolManager.h.
| typedef const SymExpr * clang::ento::SymbolRef |
Definition at line 44 of file PathDiagnostic.h.
| typedef llvm::SmallVector<SymbolRef, 2> clang::ento::SymbolRefSmallVectorTy |
Definition at line 102 of file SymbolManager.h.
| typedef llvm::ImmutableMap<SymbolRef, TaintTagType> clang::ento::TaintMapImpl |
Definition at line 26 of file TaintManager.h.
| typedef unsigned clang::ento::TaintTagType |
The type of taint, which helps to differentiate between different types of taint.
Definition at line 22 of file TaintTag.h.
| static void clang::ento::computeAdjustment | ( | SymbolRef & | Sym, |
| llvm::APSInt & | Adjustment | ||
| ) | [static] |
Definition at line 214 of file SimpleConstraintManager.cpp.
References clang::BO_Add, clang::BO_Sub, and clang::ento::APSIntType::convert().
Referenced by clang::ento::SimpleConstraintManager::assumeSymRel().
| bool clang::ento::containsBuiltinOffsetOf | ( | const Stmt * | S | ) |
Definition at line 69 of file CheckerHelpers.cpp.
References clang::Stmt::child_begin(), and clang::Stmt::child_end().
| bool clang::ento::containsEnum | ( | const Stmt * | S | ) |
Definition at line 35 of file CheckerHelpers.cpp.
References clang::Stmt::child_begin(), clang::Stmt::child_end(), clang::DeclRefExpr::getDecl(), and S.
| bool clang::ento::containsMacro | ( | const Stmt * | S | ) |
Definition at line 18 of file CheckerHelpers.cpp.
References clang::Stmt::child_begin(), clang::Stmt::child_end(), clang::Stmt::getLocEnd(), clang::Stmt::getLocStart(), and clang::SourceLocation::isMacroID().
| bool clang::ento::containsStaticLocal | ( | const Stmt * | S | ) |
Definition at line 51 of file CheckerHelpers.cpp.
References clang::Stmt::child_begin(), clang::Stmt::child_end(), clang::DeclRefExpr::getDecl(), and S.
| bool clang::ento::containsStmt | ( | const Stmt * | S | ) |
Definition at line 27 of file CheckerHelpers.h.
References clang::Stmt::children().
| ASTConsumer * clang::ento::CreateAnalysisConsumer | ( | const Preprocessor & | pp, |
| const std::string & | output, | ||
| const AnalyzerOptions & | opts, | ||
| ArrayRef< std::string > | plugins | ||
| ) |
CreateAnalysisConsumer - Creates an ASTConsumer to run various code analysis passes. (The set of analyses run is controlled by command-line options.)
Definition at line 568 of file AnalysisConsumer.cpp.
References clang::Preprocessor::getDiagnostics(), and clang::DiagnosticsEngine::setWarningsAsErrors().
Referenced by clang::ento::AnalysisAction::CreateASTConsumer().
| ConstraintManager * clang::ento::CreateBasicConstraintManager | ( | ProgramStateManager & | statemgr, |
| SubEngine & | subengine | ||
| ) |
Definition at line 131 of file BasicConstraintManager.cpp.
| CheckerManager * clang::ento::createCheckerManager | ( | const AnalyzerOptions & | opts, |
| const LangOptions & | langOpts, | ||
| ArrayRef< std::string > | plugins, | ||
| DiagnosticsEngine & | diags | ||
| ) |
Definition at line 103 of file CheckerRegistration.cpp.
References clang::AnalyzerOptions::CheckersControlList, and clang::DiagnosticsEngine::Report().
| StoreManager * clang::ento::CreateFieldsOnlyRegionStoreManager | ( | ProgramStateManager & | StMgr | ) |
Definition at line 443 of file RegionStore.cpp.
| PathDiagnosticConsumer * clang::ento::createHTMLDiagnosticConsumer | ( | const std::string & | prefix, |
| const Preprocessor & | PP | ||
| ) |
Definition at line 80 of file HTMLDiagnostics.cpp.
Referenced by createPlistHTMLDiagnosticConsumer().
| PathDiagnosticConsumer * clang::ento::createPlistDiagnosticConsumer | ( | const std::string & | prefix, |
| const Preprocessor & | PP, | ||
| PathDiagnosticConsumer * | SubPD = 0 |
||
| ) |
Definition at line 68 of file PlistDiagnostics.cpp.
References clang::Preprocessor::getLangOpts().
Referenced by createPlistHTMLDiagnosticConsumer().
| PathDiagnosticConsumer * clang::ento::createPlistMultiFileDiagnosticConsumer | ( | const std::string & | prefix, |
| const Preprocessor & | PP | ||
| ) |
Definition at line 74 of file PlistDiagnostics.cpp.
References clang::Preprocessor::getLangOpts().
| ConstraintManager * clang::ento::CreateRangeConstraintManager | ( | ProgramStateManager & | statemgr, |
| SubEngine & | subengine | ||
| ) |
Definition at line 346 of file RangeConstraintManager.cpp.
References clang::ento::ProgramStateManager::getBasicVals().
| StoreManager * clang::ento::CreateRegionStoreManager | ( | ProgramStateManager & | StMgr | ) |
Definition at line 437 of file RegionStore.cpp.
| SValBuilder * clang::ento::createSimpleSValBuilder | ( | llvm::BumpPtrAllocator & | alloc, |
| ASTContext & | context, | ||
| ProgramStateManager & | stateMgr | ||
| ) |
Definition at line 52 of file SimpleSValBuilder.cpp.
| PathDiagnosticConsumer * clang::ento::createTextPathDiagnosticConsumer | ( | const std::string & | prefix, |
| const Preprocessor & | PP | ||
| ) |
Definition at line 50 of file TextPathDiagnostics.cpp.
References clang::Preprocessor::getDiagnostics().
| std::pair<ExplodedNode * const *, ExplodedNode * const *> clang::ento::GetImplicitNullDereferences | ( | ExprEngine & | Eng | ) |
| static BinaryOperator::Opcode clang::ento::NegateComparison | ( | BinaryOperator::Opcode | op | ) | [static] |
Definition at line 119 of file SimpleConstraintManager.cpp.
References clang::BO_EQ, clang::BO_GE, clang::BO_GT, clang::BO_LE, clang::BO_LT, and clang::BO_NE.
Referenced by clang::ento::SimpleConstraintManager::assumeAux().
| void clang::ento::printCheckerHelp | ( | raw_ostream & | OS, |
| ArrayRef< std::string > | plugins | ||
| ) |
Definition at line 128 of file CheckerRegistration.cpp.
Referenced by clang::ExecuteCompilerInvocation().
| void clang::ento::ProgramStateRelease | ( | const ProgramState * | state | ) |
Decrement the number of times this state is referenced.
Definition at line 36 of file ProgramState.cpp.
References clang::ento::ProgramState::getStateManager(), and clang::ento::ProgramState::~ProgramState().
Referenced by llvm::IntrusiveRefCntPtrInfo< const clang::ento::ProgramState >::release().
| void clang::ento::ProgramStateRetain | ( | const ProgramState * | state | ) |
Increments the number of times this state is referenced.
Definition at line 31 of file ProgramState.cpp.
Referenced by llvm::IntrusiveRefCntPtrInfo< const clang::ento::ProgramState >::retain().
| void clang::ento::registerBuiltinCheckers | ( | CheckerRegistry & | registry | ) |
Definition at line 26 of file ClangCheckers.cpp.
| void clang::ento::RegisterCallInliner | ( | ExprEngine & | Eng | ) |
| void clang::ento::registerCStringCheckerBasic | ( | CheckerManager & | Mgr | ) |
Register the checker which evaluates CString API calls.
Definition at line 1998 of file CStringChecker.cpp.
const TaintTagType clang::ento::TaintTagGeneric = 0 [static] |
Definition at line 23 of file TaintTag.h.