|
clang
3.8.0
|
A Utility class that allows to visit the reachable symbols using a custom SymbolVisitor. More...
#include <ProgramState.h>
Public Member Functions | |
| ScanReachableSymbols (ProgramStateRef st, SymbolVisitor &v) | |
| bool | scan (nonloc::LazyCompoundVal val) |
| bool | scan (nonloc::CompoundVal val) |
| bool | scan (SVal val) |
| bool | scan (const MemRegion *R) |
| bool | scan (const SymExpr *sym) |
A Utility class that allows to visit the reachable symbols using a custom SymbolVisitor.
Definition at line 832 of file ProgramState.h.
|
inline |
Definition at line 840 of file ProgramState.h.
| bool ScanReachableSymbols::scan | ( | nonloc::LazyCompoundVal | val | ) |
Definition at line 508 of file ProgramState.cpp.
References clang::ento::MemRegion::getBaseRegion(), clang::ento::nonloc::LazyCompoundVal::getCVData(), clang::ento::nonloc::LazyCompoundVal::getRegion(), clang::ento::nonloc::LazyCompoundVal::getStore(), and clang::ento::StoreManager::scanReachableSymbols().
Referenced by clang::ento::EnvironmentManager::removeDeadBindings(), scan(), and clang::ento::ProgramState::scanReachableSymbols().
| bool ScanReachableSymbols::scan | ( | nonloc::CompoundVal | val | ) |
Definition at line 521 of file ProgramState.cpp.
References clang::ento::nonloc::CompoundVal::begin(), E, clang::ento::nonloc::CompoundVal::end(), I, and scan().
Definition at line 559 of file ProgramState.cpp.
References clang::ento::SVal::getAs(), clang::ento::SVal::getAsSymbol(), clang::ento::SVal::getAsSymbolicExpression(), scan(), and X.
Definition at line 529 of file ProgramState.cpp.
References clang::ento::SymExpr::getKind(), clang::ento::SymSymExpr::getLHS(), clang::ento::SymSymExpr::getRHS(), clang::ento::SymExpr::IntSymExprKind, scan(), clang::ento::SymExpr::SymbolCastKind, clang::ento::SymExpr::SymbolConjuredKind, clang::ento::SymExpr::SymbolDerivedKind, clang::ento::SymExpr::SymbolExtentKind, clang::ento::SymExpr::SymbolMetadataKind, clang::ento::SymExpr::SymbolRegionValueKind, clang::ento::SymExpr::SymIntExprKind, clang::ento::SymExpr::SymSymExprKind, and clang::ento::SymbolVisitor::VisitSymbol().
1.8.6