|
Static Value-Flow Analysis
|
#include <DPItem.h>
Public Types | |
| typedef CallStrCxt::const_iterator | const_iterator |
Public Member Functions | |
| ContextCond () | |
| Constructor. | |
| ContextCond (const ContextCond &cond) | |
| Copy Constructor. | |
| ContextCond (ContextCond &&cond) noexcept | |
| Move Constructor. | |
| ContextCond & | operator= (ContextCond &&cond) noexcept |
| Move operator=. | |
| virtual | ~ContextCond () |
| Destructor. | |
| const CallStrCxt & | getContexts () const |
| Get context. | |
| CallStrCxt & | getContexts () |
| Get context. | |
| bool | isConcreteCxt () const |
| Whether it is an concrete context. | |
| void | setNonConcreteCxt () |
| Whether it is an concrete context. | |
| bool | containCallStr (NodeID cxt) const |
| Whether contains callstring cxt. | |
| u32_t | cxtSize () const |
| Get context size. | |
| u32_t | getMaxPathLen () const |
| virtual bool | pushContext (NodeID ctx) |
| Push context. | |
| virtual bool | matchContext (NodeID ctx) |
| Match context. | |
| bool | operator< (const ContextCond &rhs) const |
| NodeID | operator[] (const u32_t index) const |
| Overloading operator[]. | |
| ContextCond & | operator= (const ContextCond &rhs) |
| Overloading operator=. | |
| bool | operator== (const ContextCond &rhs) const |
| Overloading operator==. | |
| bool | operator!= (const ContextCond &rhs) const |
| Overloading operator!=. | |
| const_iterator | begin () const |
| Begin iterators. | |
| const_iterator | end () const |
| End iterators. | |
| std::string | toString () const |
| Dump context condition. | |
Static Public Member Functions | |
| static void | setMaxCxtLen (u32_t max) |
| set max context limit | |
| static void | setMaxPathLen (u32_t max) |
| set max path limit | |
Static Public Attributes | |
| static u32_t | maximumCxt = 0 |
| static u32_t | maximumPath = 0 |
Protected Attributes | |
| CallStrCxt | context |
| bool | concreteCxt |
Static Protected Attributes | |
| static u32_t | maximumCxtLen = 0 |
| static u32_t | maximumPathLen = 0 |
| typedef CallStrCxt::const_iterator SVF::ContextCond::const_iterator |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Whether it is an concrete context.
Match context.
if context is empty, then it is the unbalanced parentheses match
otherwise, we perform balanced parentheses matching
|
inline |
|
inline |
Enable compare operator to avoid duplicated item insertion in map or set to be noted that two vectors can also overload operator()
|
inline |
|
inlinenoexcept |
Move operator=.
Definition at line 221 of file DPItem.h.
|
inline |
Push context.
handle out of context limit case
Definition at line 279 of file DPItem.h.
|
inline |
Whether it is an concrete context.
|
inline |
Dump context condition.
|
protected |