clang 22.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 498 of file ProgramState.h.
ProgramStateManager::ProgramStateManager | ( | ASTContext & | Ctx, |
StoreManagerCreator | CreateStoreManager, | ||
ConstraintManagerCreator | CreateConstraintManager, | ||
llvm::BumpPtrAllocator & | alloc, | ||
ExprEngine * | expreng ) |
Definition at line 71 of file ProgramState.cpp.
References clang::ento::createSimpleSValBuilder().
ProgramStateManager::~ProgramStateManager | ( | ) |
Definition at line 84 of file ProgramState.cpp.
|
inline |
Definition at line 655 of file ProgramState.h.
References addGDM(), clang::C, clang::ento::ProgramStateTrait< T >::MakeVoidPtr(), and clang::T.
Referenced by clang::ento::ProgramState::add().
ProgramStateRef ProgramStateManager::addGDM | ( | ProgramStateRef | St, |
void * | Key, | ||
void * | Data ) |
Definition at line 552 of file ProgramState.cpp.
References clang::Data, getPersistentState(), and ProgramState.
Definition at line 589 of file ProgramState.h.
void * ProgramStateManager::FindGDMContext | ( | void * | index, |
void *(* | CreateContext )(llvm::BumpPtrAllocator &), | ||
void(* | DeleteContext )(void *) ) |
Definition at line 539 of file ProgramState.cpp.
Referenced by get_context().
|
inline |
Definition at line 681 of file ProgramState.h.
References FindGDMContext().
Referenced by clang::ento::ProgramState::get_context().
|
inline |
Definition at line 563 of file ProgramState.h.
|
inline |
Definition at line 544 of file ProgramState.h.
Referenced by clang::ento::ProgramState::getBasicVals().
|
inline |
Definition at line 572 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::retaincountchecker::RefCountReportVisitor::VisitNode(), clang::ento::UndefOrNullArgVisitor::VisitNode(), and clang::ento::ExprEngine::VisitObjCMessage().
|
inline |
Definition at line 576 of file ProgramState.h.
Referenced by clang::ento::ProgramState::printJson().
|
inline |
Definition at line 577 of file ProgramState.h.
|
inline |
Definition at line 541 of file ProgramState.h.
Referenced by clang::ento::ProgramState::printJson().
|
inline |
Definition at line 542 of file ProgramState.h.
ProgramStateRef ProgramStateManager::getInitialState | ( | const LocationContext * | InitLoc | ) |
Definition at line 394 of file ProgramState.cpp.
References getPersistentState(), and ProgramState.
|
inline |
Definition at line 580 of file ProgramState.h.
Referenced by clang::ento::ProgramState::bindDefaultInitial(), clang::ento::ProgramState::bindDefaultZero(), clang::ento::ProgramState::bindLoc(), and clang::ento::ProgramState::printJson().
ProgramStateRef ProgramStateManager::getPersistentState | ( | ProgramState & | Impl | ) |
Definition at line 411 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 403 of file ProgramState.cpp.
References getPersistentState(), and ProgramState.
|
inline |
Definition at line 565 of file ProgramState.h.
Referenced by clang::ento::ProgramState::getRegion().
|
inline |
Definition at line 568 of file ProgramState.h.
|
inline |
Definition at line 574 of file ProgramState.h.
Referenced by evalComparison(), clang::ento::CXXInstanceCall::getInitialStackFrameContents(), and clang::ento::ProgramState::printJson().
|
inline |
Definition at line 575 of file ProgramState.h.
|
inline |
Definition at line 548 of file ProgramState.h.
Referenced by clang::ento::SimpleConstraintManager::assumeInternal(), clang::ento::iterator::assumeNoOverflow(), bindRequiredArrayElementToEnvironment(), clang::ento::CreateRangeConstraintManager(), clang::ento::CreateZ3ConstraintManager(), doRearrangeUnchecked(), escapeByStartIndexAndCount(), evalComparison(), clang::ento::CallEventManager::getCaller(), getIndex(), clang::ento::CXXInstanceCall::getInitialStackFrameContents(), getKnownValue(), isInRelation(), isWithinConstantOverflowBounds(), clang::ento::simplifyToSVal(), tryRearrange(), and wasRegionOfInterestModifiedAt().
|
inline |
Definition at line 552 of file ProgramState.h.
|
inline |
Definition at line 556 of file ProgramState.h.
Referenced by clang::ento::ProgramState::getSymbolManager().
|
inline |
Definition at line 559 of file ProgramState.h.
|
inline |
Definition at line 607 of file ProgramState.h.
Referenced by clang::ento::ConditionBRVisitor::VisitTrueTest().
|
inline |
Definition at line 611 of file ProgramState.h.
|
inline |
Definition at line 615 of file ProgramState.h.
|
inline |
Definition at line 599 of file ProgramState.h.
Referenced by GetAllocationSite(), and getAllVarBindingsForSymbol().
|
inline |
Definition at line 672 of file ProgramState.h.
References removeGDM().
|
inline |
Definition at line 663 of file ProgramState.h.
References addGDM(), clang::C, clang::ento::ProgramStateTrait< T >::MakeVoidPtr(), and clang::T.
Referenced by clang::ento::ProgramState::remove(), clang::ento::ProgramState::remove(), and clang::ento::ProgramState::remove().
ProgramStateRef ProgramStateManager::removeDeadBindingsFromEnvironmentAndStore | ( | ProgramStateRef | St, |
const StackFrameContext * | LCtx, | ||
SymbolReaper & | SymReaper ) |
Definition at line 90 of file ProgramState.cpp.
References getPersistentState(), clang::ento::ProgramState::getStore(), ProgramState, and clang::ento::SymbolReaper::setReapedStore().
ProgramStateRef ProgramStateManager::removeGDM | ( | ProgramStateRef | state, |
void * | Key ) |
Definition at line 564 of file ProgramState.cpp.
References getPersistentState(), and ProgramState.
Referenced by remove().
|
inline |
Definition at line 639 of file ProgramState.h.
References addGDM(), and clang::ento::ProgramStateTrait< T >::MakeVoidPtr().
Referenced by clang::ento::ProgramState::set(), clang::ento::ProgramState::set(), and clang::ento::ProgramState::set().
|
inline |
Definition at line 645 of file ProgramState.h.
References addGDM(), clang::C, clang::ento::ProgramStateTrait< T >::MakeVoidPtr(), clang::T, and V.
|
friend |
Definition at line 499 of file ProgramState.h.
References ProgramState.
Referenced by addGDM(), getInitialState(), getPersistentState(), getPersistentStateWithGDM(), ProgramState, removeDeadBindingsFromEnvironmentAndStore(), and removeGDM().
|
friend |
Decrement the number of times this state is referenced.
Definition at line 34 of file ProgramState.cpp.