|
clang
3.8.0
|
MemSpaceRegion - A memory region that represents a "memory space"; for example, the set of global variables, the stack frame, etc. More...
#include <MemRegion.h>
Public Member Functions | |
| bool | isBoundable () const override |
| void | Profile (llvm::FoldingSetNodeID &ID) const override |
Public Member Functions inherited from clang::ento::MemRegion | |
| ASTContext & | getContext () const |
| const MemSpaceRegion * | getMemorySpace () const |
| const MemRegion * | getBaseRegion () const |
| virtual bool | isSubRegionOf (const MemRegion *R) const |
| Check if the region is a subregion of the given region. More... | |
| const MemRegion * | StripCasts (bool StripBaseCasts=true) const |
| const SymbolicRegion * | getSymbolicBase () const |
| If this is a symbolic region, returns the region. More... | |
| bool | hasGlobalsOrParametersStorage () const |
| bool | hasStackStorage () const |
| bool | hasStackNonParametersStorage () const |
| bool | hasStackParametersStorage () const |
| RegionOffset | getAsOffset () const |
| Compute the offset within the top level memory object. More... | |
| std::string | getString () const |
| Get a string representation of a region for debug use. More... | |
| virtual void | dumpToStream (raw_ostream &os) const |
| void | dump () const |
| virtual bool | canPrintPretty () const |
| Returns true if this region can be printed in a user-friendly way. More... | |
| virtual void | printPretty (raw_ostream &os) const |
| Print the region for use in diagnostics. More... | |
| virtual bool | canPrintPrettyAsExpr () const |
| Returns true if this region's textual representation can be used as part of a larger expression. More... | |
| virtual void | printPrettyAsExpr (raw_ostream &os) const |
| Print the region as expression. More... | |
| Kind | getKind () const |
| template<typename RegionTy > | |
| const RegionTy * | getAs () const |
Static Public Member Functions | |
| static bool | classof (const MemRegion *R) |
Protected Member Functions | |
| MemSpaceRegion (MemRegionManager *mgr, Kind k) | |
| MemRegionManager * | getMemRegionManager () const override |
Protected Member Functions inherited from clang::ento::MemRegion | |
| MemRegion (Kind k) | |
| virtual | ~MemRegion () |
Protected Attributes | |
| MemRegionManager * | Mgr |
MemSpaceRegion - A memory region that represents a "memory space"; for example, the set of global variables, the stack frame, etc.
Definition at line 194 of file MemRegion.h.
|
inlineprotected |
Definition at line 198 of file MemRegion.h.
References classof().
Definition at line 209 of file MemRegion.h.
References clang::ento::MemRegion::BEGIN_MEMSPACES, clang::ento::MemRegion::END_MEMSPACES, and clang::ento::MemRegion::getKind().
Referenced by MemSpaceRegion().
|
inlineoverrideprotectedvirtual |
|
inlineoverridevirtual |
Reimplemented from clang::ento::MemRegion.
Definition at line 205 of file MemRegion.h.
|
overridevirtual |
Implements clang::ento::MemRegion.
Reimplemented in clang::ento::StackSpaceRegion, and clang::ento::StaticGlobalSpaceRegion.
Definition at line 248 of file MemRegion.cpp.
References clang::ento::MemRegion::getKind().
|
protected |
Definition at line 196 of file MemRegion.h.
Referenced by getMemRegionManager().
1.8.6