Static Value-Flow Analysis
Loading...
Searching...
No Matches
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 i, 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
 
u32_t getId () 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 GraphDBClient
 

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 i=0, u32_t Sz=1)
 
- Static Protected Member Functions inherited from SVF::SVFType
static void setSVFPtrType (SVFType *ptrTy)
 set svfptrty and svfi8ty when initializing SVFType from db query results
 
static void setSVFInt8Type (SVFType *i8Ty)
 

Detailed Description

Definition at line 317 of file SVFType.h.

Constructor & Destructor Documentation

◆ SVFPointerType()

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

Definition at line 323 of file SVFType.h.

324 : SVFType(true, SVFPointerTy, i, byteSize)
325 {
326 }
u32_t byteSize
LLVM Byte Size.
Definition SVFType.h:239
SVFType(void)=delete
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

Member Function Documentation

◆ classof()

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

Definition at line 328 of file SVFType.h.

329 {
330 return node->getKind() == SVFPointerTy;
331 }

◆ 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 Symbol Documentation

◆ GraphDBClient

friend class GraphDBClient
friend

Definition at line 320 of file SVFType.h.


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