Static Value-Flow Analysis
|
#include <WTO.h>
Public Types | |
typedef GraphT::NodeType | NodeT |
typedef WTOComponent< GraphT > | WTOComponentT |
typedef WTOComponentRefList::const_iterator | Iterator |
Iterator over the components. | |
Public Types inherited from SVF::WTOComponent< GraphT > | |
enum | WTOCT { Node , Cycle } |
Public Member Functions | |
WTOCycle (const WTONode< GraphT > *head, WTOComponentRefList components) | |
Constructor. | |
const WTONode< GraphT > * | head () const |
Return the head of the cycle. | |
const WTOComponentRefList & | getWTOComponents () const |
Get all wto components in WTO cycle. | |
Iterator | begin () const |
Begin iterator over the components. | |
Iterator | end () const |
End iterator over the components. | |
void | accept (WTOComponentVisitor< GraphT > &v) const override |
Accept the given visitor. | |
std::string | toString () const override |
Dump the cycle, for debugging purpose. | |
Public Member Functions inherited from SVF::WTOComponent< GraphT > | |
WTOComponent (WTOCT k) | |
Default constructor. | |
WTOComponent (const WTOComponent &) noexcept=default | |
Copy constructor. | |
WTOComponent (WTOComponent &&) noexcept=default | |
Move constructor. | |
WTOComponent & | operator= (const WTOComponent &) noexcept=default |
Copy assignment operator. | |
WTOComponent & | operator= (WTOComponent &&) noexcept=default |
Move assignment operator. | |
virtual | ~WTOComponent ()=default |
Destructor. | |
WTOCT | getKind () const |
Static Public Member Functions | |
static bool | classof (const WTOCycle< GraphT > *) |
ClassOf. | |
static bool | classof (const WTOComponent< GraphT > *c) |
Private Types | |
typedef const WTOComponentT * | WTOComponentPtr |
typedef std::list< WTOComponentPtr > | WTOComponentRefList |
Private Attributes | |
const WTONode< GraphT > * | _head |
Head of the cycle. | |
WTOComponentRefList | _components |
List of components. | |
Additional Inherited Members | |
Public Attributes inherited from SVF::WTOComponent< GraphT > | |
WTOCT | _type |
WTO cycle for GraphT
typedef WTOComponentRefList::const_iterator SVF::WTOCycle< GraphT >::Iterator |
typedef GraphT::NodeType SVF::WTOCycle< GraphT >::NodeT |
|
private |
|
private |
typedef WTOComponent<GraphT> SVF::WTOCycle< GraphT >::WTOComponentT |
|
inline |
|
inlineoverridevirtual |
Accept the given visitor.
Implements SVF::WTOComponent< GraphT >.
|
inline |
Begin iterator over the components.
|
inlinestatic |
|
inline |
End iterator over the components.
|
inline |
Get all wto components in WTO cycle.
|
inlineoverridevirtual |
|
private |