clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Attributes
clang::ento::SymbolicRegion Class Reference

#include <MemRegion.h>

Inheritance diagram for clang::ento::SymbolicRegion:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::SymbolicRegion:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SymbolicRegion (const SymbolRef s, const MemRegion *sreg)
SymbolRef getSymbol () const
bool isBoundable () const
DefinedOrUnknownSVal getExtent (SValBuilder &svalBuilder) const
 getExtent - Returns the size of the region in bytes.
void Profile (llvm::FoldingSetNodeID &ID) const
void dumpToStream (raw_ostream &os) const

Static Public Member Functions

static void ProfileRegion (llvm::FoldingSetNodeID &ID, SymbolRef sym, const MemRegion *superRegion)
static bool classof (const MemRegion *R)

Protected Attributes

const SymbolRef sym

Detailed Description

SymbolicRegion - A special, "non-concrete" region. Unlike other region clases, SymbolicRegion represents a region that serves as an alias for either a real region, a NULL pointer, etc. It essentially is used to map the concept of symbolic values into the domain of regions. Symbolic regions do not need to be typed.

Definition at line 653 of file MemRegion.h.


Constructor & Destructor Documentation

clang::ento::SymbolicRegion::SymbolicRegion ( const SymbolRef  s,
const MemRegion sreg 
) [inline]

Definition at line 658 of file MemRegion.h.


Member Function Documentation

static bool clang::ento::SymbolicRegion::classof ( const MemRegion R) [inline, static]
void clang::ento::SymbolicRegion::dumpToStream ( raw_ostream &  os) const [virtual]

Reimplemented from clang::ento::MemRegion.

DefinedOrUnknownSVal clang::ento::SymbolicRegion::getExtent ( SValBuilder svalBuilder) const [virtual]

getExtent - Returns the size of the region in bytes.

Reimplemented from clang::ento::SubRegion.

SymbolRef clang::ento::SymbolicRegion::getSymbol ( ) const [inline]

Definition at line 661 of file MemRegion.h.

References sym.

bool clang::ento::SymbolicRegion::isBoundable ( ) const [inline, virtual]

Reimplemented from clang::ento::MemRegion.

Definition at line 665 of file MemRegion.h.

void clang::ento::SymbolicRegion::Profile ( llvm::FoldingSetNodeID &  ID) const [virtual]
static void clang::ento::SymbolicRegion::ProfileRegion ( llvm::FoldingSetNodeID &  ID,
SymbolRef  sym,
const MemRegion superRegion 
) [static]

Member Data Documentation

Definition at line 655 of file MemRegion.h.

Referenced by getSymbol().


The documentation for this class was generated from the following file: