clang
6.0.0
|
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
Friends | |
class | ProgramState |
void | ProgramStateRelease (const ProgramState *state) |
Decrement the number of times this state is referenced. More... | |
Definition at line 460 of file ProgramState.h.
ProgramStateManager::ProgramStateManager | ( | ASTContext & | Ctx, |
StoreManagerCreator | CreateStoreManager, | ||
ConstraintManagerCreator | CreateConstraintManager, | ||
llvm::BumpPtrAllocator & | alloc, | ||
SubEngine * | subeng | ||
) |
Definition at line 70 of file ProgramState.cpp.
ProgramStateManager::~ProgramStateManager | ( | ) |
Definition at line 83 of file ProgramState.cpp.
|
inline |
Definition at line 605 of file ProgramState.h.
References clang::T.
ProgramStateRef ProgramStateManager::addGDM | ( | ProgramStateRef | St, |
void * | Key, | ||
void * | Data | ||
) |
Definition at line 491 of file ProgramState.cpp.
References getPersistentState().
Definition at line 543 of file ProgramState.h.
References clang::CodeGen::state.
Referenced by clang::ento::SValBuilder::evalCast().
|
inline |
Definition at line 639 of file ProgramState.h.
void * ProgramStateManager::FindGDMContext | ( | void * | index, |
void *(*)(llvm::BumpPtrAllocator &) | CreateContext, | ||
void(*)(void *) | DeleteContext | ||
) |
Definition at line 478 of file ProgramState.cpp.
|
inline |
Definition at line 631 of file ProgramState.h.
|
inline |
Definition at line 522 of file ProgramState.h.
|
inline |
Definition at line 507 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::getBasicVals(), and clang::ento::ProgramState::getSVal().
|
inline |
Definition at line 531 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::processCallExit(), clang::ento::ExprEngine::VisitCallExpr(), clang::ento::ExprEngine::VisitCXXConstructExpr(), clang::ento::ExprEngine::VisitCXXNewAllocatorCall(), clang::ento::ExprEngine::VisitCXXNewExpr(), clang::ento::UndefOrNullArgVisitor::VisitNode(), and clang::ento::ExprEngine::VisitObjCMessage().
|
inline |
Definition at line 534 of file ProgramState.h.
Referenced by clang::ento::ProgramState::assumeInBound(), clang::ento::ExprEngine::getConstraintManager(), and clang::ento::ProgramState::print().
|
inline |
Definition at line 504 of file ProgramState.h.
Referenced by clang::ento::StoreManager::castRegion().
|
inline |
Definition at line 505 of file ProgramState.h.
ProgramStateRef ProgramStateManager::getInitialState | ( | const LocationContext * | InitLoc | ) |
Definition at line 371 of file ProgramState.cpp.
References clang::ento::EnvironmentManager::getInitialEnvironment(), getPersistentState(), and State.
Referenced by clang::ento::ExprEngine::getInitialState().
|
inline |
Definition at line 535 of file ProgramState.h.
Referenced by clang::ento::ProgramState::bindDefault(), clang::ento::ProgramState::bindLoc(), and clang::ento::ProgramState::print().
ProgramStateRef ProgramStateManager::getPersistentState | ( | ProgramState & | Impl | ) |
Definition at line 388 of file ProgramState.cpp.
References clang::ento::ProgramState::Profile().
Referenced by addGDM(), getInitialState(), getPersistentStateWithGDM(), removeDeadBindings(), and removeGDM().
ProgramStateRef ProgramStateManager::getPersistentStateWithGDM | ( | ProgramStateRef | FromState, |
ProgramStateRef | GDMState | ||
) |
Definition at line 380 of file ProgramState.cpp.
References getPersistentState().
|
inline |
Definition at line 524 of file ProgramState.h.
|
inline |
Definition at line 527 of file ProgramState.h.
|
inline |
Definition at line 533 of file ProgramState.h.
Referenced by clang::ento::SValBuilder::evalCast(), evalComparison(), clang::CXXInstanceCall::getInitialStackFrameContents(), clang::ento::ExprEngine::getStoreManager(), clang::ento::ProgramState::print(), clang::ento::ProgramState::ProgramState(), and clang::ento::ProgramState::~ProgramState().
|
inline |
Definition at line 511 of file ProgramState.h.
Referenced by clang::ento::ProgramState::assumeInBound(), clang::ento::CreateRangeConstraintManager(), clang::ento::CreateZ3ConstraintManager(), evalComparison(), clang::CXXInstanceCall::getInitialStackFrameContents(), and llvm::FoldingSetTrait< ObjectState >::Profile().
|
inline |
Definition at line 515 of file ProgramState.h.
|
inline |
Definition at line 518 of file ProgramState.h.
|
inline |
Definition at line 561 of file ProgramState.h.
|
inline |
Definition at line 565 of file ProgramState.h.
|
inline |
Definition at line 553 of file ProgramState.h.
Referenced by GetAllocationSite().
|
inline |
Definition at line 613 of file ProgramState.h.
References AttributeLangSupport::C, and clang::T.
|
inline |
Definition at line 622 of file ProgramState.h.
ProgramStateRef ProgramStateManager::removeDeadBindings | ( | ProgramStateRef | St, |
const StackFrameContext * | LCtx, | ||
SymbolReaper & | SymReaper | ||
) |
Definition at line 90 of file ProgramState.cpp.
References getPersistentState(), clang::ento::ProgramState::getStore(), clang::ento::EnvironmentManager::removeDeadBindings(), clang::ento::SymbolReaper::setReapedStore(), and clang::CodeGen::state.
Referenced by clang::ento::ExprEngine::removeDead().
ProgramStateRef ProgramStateManager::removeGDM | ( | ProgramStateRef | state, |
void * | Key | ||
) |
Definition at line 503 of file ProgramState.cpp.
References getPersistentState(), and clang::CodeGen::state.
|
inline |
Definition at line 589 of file ProgramState.h.
|
inline |
Definition at line 595 of file ProgramState.h.
References AttributeLangSupport::C, and clang::T.
|
friend |
Definition at line 461 of file ProgramState.h.
|
friend |
Decrement the number of times this state is referenced.
Definition at line 33 of file ProgramState.cpp.