Static Value-Flow Analysis
|
#include <SVFValue.h>
Public Types | |
enum | SVFValKind { SVFVal , SVFFunc , SVFBB , SVFInst , SVFCall , SVFVCall , SVFGlob , SVFArg , SVFConst , SVFConstData , SVFConstInt , SVFConstFP , SVFNullPtr , SVFBlackHole , SVFMetaAsValue , SVFOther } |
typedef s64_t | GNodeK |
Public Member Functions | |
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. | |
Protected Member Functions | |
SVFValue (const SVFType *ty, SVFValKind k) | |
Constructor without name. | |
void | setConstDataOrAggData () |
void | setPtrInUncalledFunction () |
Protected Attributes | |
const SVFType * | type |
Type of this SVFValue. | |
std::string | name |
Short name of value for printing & debugging. | |
std::string | sourceLoc |
Private Attributes | |
GNodeK | kind |
used for classof | |
bool | ptrInUncalledFun |
true if this pointer is in an uncalled function | |
bool | constDataOrAggData |
true if this value is a ConstantData (e.g., numbers, string, floats) or a constantAggregate | |
Friends | |
class | SVFIRWriter |
class | SVFIRReader |
class | LLVMModuleSet |
OutStream & | operator<< (OutStream &os, const SVFValue &value) |
Overloading operator << for dumping ICFG node ID. | |
Definition at line 177 of file SVFValue.h.
Definition at line 184 of file SVFValue.h.
Enumerator | |
---|---|
SVFVal | |
SVFFunc | |
SVFBB | |
SVFInst | |
SVFCall | |
SVFVCall | |
SVFGlob | |
SVFArg | |
SVFConst | |
SVFConstData | |
SVFConstInt | |
SVFConstFP | |
SVFNullPtr | |
SVFBlackHole | |
SVFMetaAsValue | |
SVFOther |
Definition at line 186 of file SVFValue.h.
|
inlineprotected |
Constructor without name.
Definition at line 216 of file SVFValue.h.
|
delete |
|
virtualdefault |
|
inline |
Get the type of this SVFValue.
Definition at line 238 of file SVFValue.h.
|
inline |
Definition at line 243 of file SVFValue.h.
Definition at line 280 of file SVFValue.h.
Definition at line 256 of file SVFValue.h.
|
inline |
Definition at line 268 of file SVFValue.h.
|
inline |
Definition at line 260 of file SVFValue.h.
|
inline |
Definition at line 272 of file SVFValue.h.
|
inline |
Definition at line 264 of file SVFValue.h.
|
inlineprotected |
attributes to be set only through Module builders e.g., LLVMModule
Definition at line 224 of file SVFValue.h.
|
inline |
Definition at line 247 of file SVFValue.h.
|
inline |
Definition at line 251 of file SVFValue.h.
|
inlineprotected |
Definition at line 228 of file SVFValue.h.
Definition at line 276 of file SVFValue.h.
std::string SVF::SVFValue::toString | ( | ) | const |
Needs to be implemented by a SVF front end.
Definition at line 721 of file LLVMUtil.cpp.
|
friend |
Definition at line 181 of file SVFValue.h.
Overloading operator << for dumping ICFG node ID.
Definition at line 290 of file SVFValue.h.
|
friend |
Definition at line 180 of file SVFValue.h.
|
friend |
Definition at line 179 of file SVFValue.h.
|
private |
true if this value is a ConstantData (e.g., numbers, string, floats) or a constantAggregate
Definition at line 209 of file SVFValue.h.
|
private |
used for classof
Definition at line 207 of file SVFValue.h.
|
protected |
Short name of value for printing & debugging.
Definition at line 213 of file SVFValue.h.
|
private |
true if this pointer is in an uncalled function
Definition at line 208 of file SVFValue.h.
|
protected |
Source code information of this value
Definition at line 214 of file SVFValue.h.
Type of this SVFValue.
Definition at line 212 of file SVFValue.h.