|
Static Value-Flow Analysis
|
#include <SVFStatements.h>
Private Member Functions | |
| GepStmt (const GepStmt &) | |
| place holder | |
| void | operator= (const GepStmt &) |
| place holder | |
Private Attributes | |
| AccessPath | ap |
| Access path of the GEP edge. | |
| bool | variantField |
| Gep statement with a variant field index (pointer arithmetic) for struct field access (e.g., p = &(q + f), where f is a variable) | |
Friends | |
| class | GraphDBClient |
Gep statement for struct field access, array access and pointer arithmetic
Definition at line 588 of file SVFStatements.h.
constructor
Definition at line 658 of file SVFStatements.h.
|
inline |
Return accumulated constant offset (when accessing array or struct) if this offset is a constant. elemBytesize is the element byte size of an static alloc or heap alloc array e.g. GepStmt* gep = **, s32_t elemBytesize = LLVMUtil::SVFType2ByteSize(gep->getRHSVar()->getValue()->getType()); APOffset byteOffset = gep->accumulateConstantByteOffset(elemBytesize);
Definition at line 635 of file SVFStatements.h.
|
inline |
Return accumulated constant offset (when accessing array or struct) if this offset is a constant.
Definition at line 641 of file SVFStatements.h.
|
inlinestatic |
Definition at line 610 of file SVFStatements.h.
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 602 of file SVFStatements.h.
Definition at line 606 of file SVFStatements.h.
|
inline |
Definition at line 616 of file SVFStatements.h.
|
inline |
Field index of the gep statement if it access the field of a struct.
Definition at line 646 of file SVFStatements.h.
|
inline |
Definition at line 620 of file SVFStatements.h.
|
inline |
Return TRUE if this is a constant location set.
Definition at line 625 of file SVFStatements.h.
|
inline |
Gep statement with a variant field index (pointer arithmetic) for struct field access.
Definition at line 652 of file SVFStatements.h.
|
virtual |
Implements SVF::AssignStmt.
Definition at line 228 of file SVFStatements.cpp.
Definition at line 590 of file SVFStatements.h.
|
private |
Access path of the GEP edge.
Definition at line 597 of file SVFStatements.h.
|
private |
Gep statement with a variant field index (pointer arithmetic) for struct field access (e.g., p = &(q + f), where f is a variable)
Definition at line 598 of file SVFStatements.h.