Static Value-Flow Analysis
Public Member Functions | Static Public Member Functions | Friends | List of all members
SVF::SVFPointerType Class Reference

#include <SVFType.h>

Inheritance diagram for SVF::SVFPointerType:
SVF::SVFType

Public Member Functions

 SVFPointerType (u32_t byteSize=1)
 
void print (std::ostream &os) const override
 
- Public Member Functions inherited from SVF::SVFType
 SVFType (void)=delete
 
virtual ~SVFType ()
 
GNodeK getKind () const
 
std::string toString () const
 
void setTypeInfo (StInfo *ti)
 
StInfogetTypeInfo ()
 
const StInfogetTypeInfo () const
 
u32_t getByteSize () const
 
bool isPointerTy () const
 
bool isArrayTy () const
 
bool isStructTy () const
 
bool isSingleValueType () const
 

Static Public Member Functions

static bool classof (const SVFType *node)
 
- Static Public Member Functions inherited from SVF::SVFType
static SVFTypegetSVFPtrType ()
 
static SVFTypegetSVFInt8Type ()
 

Friends

class SVFIRWriter
 
class SVFIRReader
 

Additional Inherited Members

- Public Types inherited from SVF::SVFType
enum  SVFTyKind {
  SVFTy , SVFPointerTy , SVFIntegerTy , SVFFunctionTy ,
  SVFStructTy , SVFArrayTy , SVFOtherTy
}
 
typedef s64_t GNodeK
 
- Protected Member Functions inherited from SVF::SVFType
 SVFType (bool svt, SVFTyKind k, u32_t Sz=1)
 

Detailed Description

Definition at line 272 of file SVFType.h.

Constructor & Destructor Documentation

◆ SVFPointerType()

SVF::SVFPointerType::SVFPointerType ( u32_t  byteSize = 1)
inline

Definition at line 278 of file SVFType.h.

279  : SVFType(true, SVFPointerTy, byteSize)
280  {
281  }
@ SVFPointerTy
Definition: SVFType.h:168
u32_t byteSize
array
Definition: SVFType.h:199
SVFType(void)=delete

Member Function Documentation

◆ classof()

static bool SVF::SVFPointerType::classof ( const SVFType node)
inlinestatic

Definition at line 283 of file SVFType.h.

284  {
285  return node->getKind() == SVFPointerTy;
286  }

◆ print()

void SVF::SVFPointerType::print ( std::ostream &  os) const
overridevirtual

Implements SVF::SVFType.

Definition at line 24 of file SVFType.cpp.

25 {
26  os << "ptr";
27 }

Friends And Related Function Documentation

◆ SVFIRReader

friend class SVFIRReader
friend

Definition at line 275 of file SVFType.h.

◆ SVFIRWriter

friend class SVFIRWriter
friend

Definition at line 274 of file SVFType.h.


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