Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
SVF::SVFConstantNullPtr Class Reference

#include <SVFValue.h>

Inheritance diagram for SVF::SVFConstantNullPtr:
SVF::SVFConstantData SVF::SVFConstant SVF::SVFValue

Public Member Functions

 SVFConstantNullPtr (const SVFType *ty)
 
 SVFConstantNullPtr ()=delete
 
- Public Member Functions inherited from SVF::SVFConstantData
 SVFConstantData (const SVFType *ty, SVFValKind k=SVFConstData)
 
 SVFConstantData ()=delete
 
- Public Member Functions inherited from SVF::SVFConstant
 SVFConstant (const SVFType *ty, SVFValKind k=SVFConst)
 
 SVFConstant ()=delete
 
- Public Member Functions inherited from SVF::SVFValue
 SVFValue ()=delete
 
virtual ~SVFValue ()=default
 
GNodeK getKind () const
 Get the type of this SVFValue.
 
const std::string & getName () const
 
void setName (const std::string &n)
 
void setName (std::string &&n)
 
virtual const SVFTypegetType () const
 
bool isConstDataOrAggData () const
 
bool ptrInUncalledFunction () const
 
bool isblackHole () const
 
bool isNullPtr () const
 
virtual void setSourceLoc (const std::string &sourceCodeInfo)
 
virtual const std::string getSourceLoc () const
 
std::string toString () const
 Needs to be implemented by a SVF front end.
 

Static Public Member Functions

static bool classof (const SVFValue *node)
 
static bool classof (const SVFConstantData *node)
 
- Static Public Member Functions inherited from SVF::SVFConstantData
static bool classof (const SVFValue *node)
 
static bool classof (const SVFConstantData *node)
 
- Static Public Member Functions inherited from SVF::SVFConstant
static bool classof (const SVFValue *node)
 

Friends

class SVFIRWriter
 
class SVFIRReader
 

Additional Inherited Members

- Public Types inherited from SVF::SVFValue
enum  SVFValKind {
  SVFVal , SVFFunc , SVFBB , SVFInst ,
  SVFCall , SVFVCall , SVFGlob , SVFArg ,
  SVFConst , SVFConstData , SVFConstInt , SVFConstFP ,
  SVFNullPtr , SVFBlackHole , SVFMetaAsValue , SVFOther
}
 
typedef s64_t GNodeK
 
- Protected Member Functions inherited from SVF::SVFValue
 SVFValue (const SVFType *ty, SVFValKind k)
 Constructor without name.
 
void setConstDataOrAggData ()
 
void setPtrInUncalledFunction ()
 
- Protected Attributes inherited from SVF::SVFValue
const SVFTypetype
 Type of this SVFValue.
 
std::string name
 Short name of value for printing & debugging.
 
std::string sourceLoc
 

Detailed Description

Definition at line 943 of file SVFValue.h.

Constructor & Destructor Documentation

◆ SVFConstantNullPtr() [1/2]

SVF::SVFConstantNullPtr::SVFConstantNullPtr ( const SVFType ty)
inline

Definition at line 949 of file SVFValue.h.

951 {
952 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

◆ SVFConstantNullPtr() [2/2]

SVF::SVFConstantNullPtr::SVFConstantNullPtr ( )
delete

Member Function Documentation

◆ classof() [1/2]

static bool SVF::SVFConstantNullPtr::classof ( const SVFConstantData node)
inlinestatic

Definition at line 959 of file SVFValue.h.

960 {
961 return node->getKind() == SVFNullPtr;
962 }

◆ classof() [2/2]

static bool SVF::SVFConstantNullPtr::classof ( const SVFValue node)
inlinestatic

Definition at line 955 of file SVFValue.h.

956 {
957 return node->getKind() == SVFNullPtr;
958 }

Friends And Related Symbol Documentation

◆ SVFIRReader

Definition at line 946 of file SVFValue.h.

◆ SVFIRWriter

Definition at line 945 of file SVFValue.h.


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