|
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 607 of file SVFStatements.h.
constructor
Definition at line 677 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 654 of file SVFStatements.h.
|
inline |
Return accumulated constant offset (when accessing array or struct) if this offset is a constant.
Definition at line 660 of file SVFStatements.h.
|
inlinestatic |
Definition at line 629 of file SVFStatements.h.
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 621 of file SVFStatements.h.
Definition at line 625 of file SVFStatements.h.
|
inline |
Definition at line 635 of file SVFStatements.h.
|
inline |
Field index of the gep statement if it access the field of a struct.
Definition at line 665 of file SVFStatements.h.
Definition at line 387 of file SVFStatements.cpp.
Definition at line 379 of file SVFStatements.cpp.
|
inline |
Definition at line 639 of file SVFStatements.h.
Definition at line 375 of file SVFStatements.cpp.
Definition at line 383 of file SVFStatements.cpp.
|
inline |
Return TRUE if this is a constant location set.
Definition at line 644 of file SVFStatements.h.
|
inline |
Gep statement with a variant field index (pointer arithmetic) for struct field access.
Definition at line 671 of file SVFStatements.h.
|
virtual |
Implements SVF::AssignStmt.
Definition at line 228 of file SVFStatements.cpp.
Definition at line 609 of file SVFStatements.h.
|
private |
Access path of the GEP edge.
Definition at line 616 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 617 of file SVFStatements.h.