Static Value-Flow Analysis
|
#include <SVFValue.h>
Public Member Functions | |
SVFInstruction (const SVFType *ty, const SVFBasicBlock *b, bool tm, bool isRet, SVFValKind k=SVFInst) | |
return true if this is an return instruction of a function | |
SVFInstruction (void)=delete | |
const SVFBasicBlock * | getParent () const |
const SVFFunction * | getFunction () const |
bool | isRetInst () const |
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 SVFType * | getType () 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) |
Private Attributes | |
const SVFBasicBlock * | bb |
bool | terminator |
The BasicBlock where this Instruction resides. | |
bool | ret |
return true if this is a terminator instruction | |
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 SVFType * | type |
Type of this SVFValue. | |
std::string | name |
Short name of value for printing & debugging. | |
std::string | sourceLoc |
Definition at line 636 of file SVFValue.h.
SVFInstruction::SVFInstruction | ( | const SVFType * | ty, |
const SVFBasicBlock * | b, | ||
bool | tm, | ||
bool | isRet, | ||
SVFValKind | k = SVFInst |
||
) |
return true if this is an return instruction of a function
Constructor without name, set name with setName()
Definition at line 266 of file SVFValue.cpp.
|
delete |
Definition at line 652 of file SVFValue.h.
|
inline |
Definition at line 664 of file SVFValue.h.
|
inline |
Definition at line 659 of file SVFValue.h.
|
inline |
Definition at line 669 of file SVFValue.h.
|
friend |
Definition at line 639 of file SVFValue.h.
|
friend |
Definition at line 638 of file SVFValue.h.
|
private |
Definition at line 642 of file SVFValue.h.
|
private |
return true if this is a terminator instruction
Definition at line 644 of file SVFValue.h.
|
private |
The BasicBlock where this Instruction resides.
Definition at line 643 of file SVFValue.h.