clang 20.0.0git
|
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
Friends | |
class | ProgramState |
void | ProgramStateRelease (const ProgramState *state) |
Decrement the number of times this state is referenced. | |
Definition at line 497 of file ProgramState.h.
ProgramStateManager::ProgramStateManager | ( | ASTContext & | Ctx, |
StoreManagerCreator | CreateStoreManager, | ||
ConstraintManagerCreator | CreateConstraintManager, | ||
llvm::BumpPtrAllocator & | alloc, | ||
ExprEngine * | expreng | ||
) |
Definition at line 72 of file ProgramState.cpp.
ProgramStateManager::~ProgramStateManager | ( | ) |
Definition at line 85 of file ProgramState.cpp.
References E.
|
inline |
Definition at line 650 of file ProgramState.h.
References addGDM(), clang::C, and clang::T.
Referenced by clang::ento::ProgramState::add().
ProgramStateRef ProgramStateManager::addGDM | ( | ProgramStateRef | St, |
void * | Key, | ||
void * | Data | ||
) |
Definition at line 537 of file ProgramState.cpp.
References clang::Data, and getPersistentState().
Definition at line 584 of file ProgramState.h.
void * ProgramStateManager::FindGDMContext | ( | void * | index, |
void *(*)(llvm::BumpPtrAllocator &) | CreateContext, | ||
void(*)(void *) | DeleteContext | ||
) |
Definition at line 524 of file ProgramState.cpp.
Referenced by get_context().
|
inline |
Definition at line 676 of file ProgramState.h.
References FindGDMContext().
Referenced by clang::ento::ProgramState::get_context().
|
inline |
Definition at line 562 of file ProgramState.h.
|
inline |
Definition at line 543 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::getBasicVals(), and clang::ento::ProgramState::getBasicVals().
|
inline |
Definition at line 571 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::computeObjectUnderConstruction(), clang::ento::ExprEngine::processCallExit(), clang::ento::ExprEngine::VisitCallExpr(), clang::ento::ExprEngine::VisitCXXDeleteExpr(), clang::ento::ExprEngine::VisitCXXDestructor(), clang::ento::ExprEngine::VisitCXXNewAllocatorCall(), clang::ento::ExprEngine::VisitCXXNewExpr(), clang::ento::NoStateChangeFuncVisitor::VisitNode(), clang::ento::UndefOrNullArgVisitor::VisitNode(), clang::ento::retaincountchecker::RefCountReportVisitor::VisitNode(), and clang::ento::ExprEngine::VisitObjCMessage().
|
inline |
Definition at line 574 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::getConstraintManager(), clang::ento::ProgramState::getConstraintManager(), and clang::ento::ProgramState::printJson().
|
inline |
Definition at line 540 of file ProgramState.h.
Referenced by clang::ento::StoreManager::castRegion(), and clang::ento::ProgramState::printJson().
|
inline |
Definition at line 541 of file ProgramState.h.
ProgramStateRef ProgramStateManager::getInitialState | ( | const LocationContext * | InitLoc | ) |
Definition at line 393 of file ProgramState.cpp.
References clang::ento::EnvironmentManager::getInitialEnvironment(), and getPersistentState().
Referenced by clang::ento::ExprEngine::getInitialState().
|
inline |
ProgramStateRef ProgramStateManager::getPersistentState | ( | ProgramState & | Impl | ) |
Definition at line 410 of file ProgramState.cpp.
References ProgramState.
Referenced by addGDM(), clang::ento::ProgramState::BindExpr(), getInitialState(), getPersistentStateWithGDM(), removeDeadBindingsFromEnvironmentAndStore(), and removeGDM().
ProgramStateRef ProgramStateManager::getPersistentStateWithGDM | ( | ProgramStateRef | FromState, |
ProgramStateRef | GDMState | ||
) |
Definition at line 402 of file ProgramState.cpp.
References getPersistentState().
Referenced by clang::ento::ExprEngine::removeDead().
|
inline |
Definition at line 564 of file ProgramState.h.
Referenced by clang::ento::ProgramState::getRegion().
|
inline |
Definition at line 567 of file ProgramState.h.
|
inline |
Definition at line 573 of file ProgramState.h.
Referenced by evalComparison(), clang::ento::SValBuilder::getCastedMemRegionVal(), clang::ento::CXXInstanceCall::getInitialStackFrameContents(), clang::ento::ExprEngine::getStoreManager(), clang::ento::ProgramState::printJson(), clang::ento::ProgramState::ProgramState(), clang::ento::ExprEngine::VisitCast(), and clang::ento::ProgramState::~ProgramState().
|
inline |
Definition at line 547 of file ProgramState.h.
Referenced by clang::ento::ProgramState::areEqual(), clang::ento::CreateRangeConstraintManager(), clang::ento::CreateZ3ConstraintManager(), evalComparison(), clang::ento::CXXInstanceCall::getInitialStackFrameContents(), tryRearrange(), and wasRegionOfInterestModifiedAt().
|
inline |
Definition at line 551 of file ProgramState.h.
|
inline |
Definition at line 555 of file ProgramState.h.
Referenced by clang::ento::ProgramState::getSymbolManager().
|
inline |
Definition at line 558 of file ProgramState.h.
|
inline |
Definition at line 602 of file ProgramState.h.
Referenced by clang::ento::ConditionBRVisitor::VisitTrueTest().
|
inline |
Definition at line 606 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::removeDead().
|
inline |
Definition at line 610 of file ProgramState.h.
Referenced by clang::ento::ExprEngine::removeDead().
|
inline |
Definition at line 594 of file ProgramState.h.
Referenced by GetAllocationSite(), and getAllVarBindingsForSymbol().
|
inline |
Definition at line 667 of file ProgramState.h.
References removeGDM().
|
inline |
Definition at line 658 of file ProgramState.h.
References addGDM(), clang::C, and clang::T.
Referenced by clang::ento::ProgramState::remove().
ProgramStateRef ProgramStateManager::removeDeadBindingsFromEnvironmentAndStore | ( | ProgramStateRef | St, |
const StackFrameContext * | LCtx, | ||
SymbolReaper & | SymReaper | ||
) |
Definition at line 91 of file ProgramState.cpp.
References getPersistentState(), clang::ento::ProgramState::getStore(), clang::ento::EnvironmentManager::removeDeadBindings(), and clang::ento::SymbolReaper::setReapedStore().
Referenced by clang::ento::ExprEngine::removeDead().
ProgramStateRef ProgramStateManager::removeGDM | ( | ProgramStateRef | state, |
void * | Key | ||
) |
Definition at line 549 of file ProgramState.cpp.
References getPersistentState().
Referenced by remove().
|
inline |
Definition at line 634 of file ProgramState.h.
Referenced by clang::ento::ProgramState::set().
|
inline |
|
friend |
Definition at line 498 of file ProgramState.h.
Referenced by getPersistentState().
|
friend |
Decrement the number of times this state is referenced.
Definition at line 35 of file ProgramState.cpp.