Predator
[unstable] git snapshot
|
a trace graph node that represents a conditional insn being traversed More...
#include <symtrace.hh>
Public Types | |
typedef std::vector< NodeBase * > | TBaseList |
used to store a list of child nodes |
Public Member Functions | |
CondNode (Node *ref, TInsn inCmp, TInsn inCnd, bool determ, bool branch) | |
virtual Node * | printNode () const |
print the node in a human-readable format if considered interesting | |
const TBaseList & | children () const |
reference to list of child nodes (containing 0..n pointers) | |
TIdMapperList & | idMapperList () |
return the ID mapping describing the operation behind the trace node | |
const TIdMapperList & | idMapperList () const |
return the ID mapping describing the operation behind the trace node | |
TIdMapper & | idMapper () |
return the ID mapping describing the operation behind the trace node | |
const TIdMapper & | idMapper () const |
return the ID mapping describing the operation behind the trace node | |
virtual Node * | parent () const |
this can be called only on nodes with exactly one parent | |
const TNodeList & | parents () const |
reference to list of parents (containing 0..n pointers) |
Protected Member Functions | |
virtual void | plotNode (TracePlotter &) const |
serialize this node to the given plot (externally not much useful) |
Protected Attributes | |
TIdMapperList | idMapperList_ |
TNodeList | parents_ |
list of all (0..n) parent nodes |
Private Attributes | |
const TInsn | inCmp_ |
const TInsn | inCnd_ |
const bool | determ_ |
const bool | branch_ |
a trace graph node that represents a conditional insn being traversed
Definition at line 277 of file symtrace.hh.
used to store a list of child nodes
Definition at line 144 of file symtrace.hh.
ref | a reference to a trace leading to this instruction |
inCmp | a comparison instruction occurring prior to inCnd |
inCnd | a conditional jump instruction being traversed |
determ | true if the branch being taken was known in advance |
branch | true if the 'then' branch was taken, false for 'else' |
Definition at line 292 of file symtrace.hh.
References Node::idMapper(), IdMapper< TObjId, OBJ_INVALID, OBJ_MAX_ID >::NFA_RETURN_IDENTITY, and IdMapper< TId, MIN, MAX >::setNotFoundAction().
|
inlineinherited |
reference to list of child nodes (containing 0..n pointers)
Definition at line 147 of file symtrace.hh.
References Node::children_.
|
inherited |
return the ID mapping describing the operation behind the trace node
Referenced by CondNode::CondNode(), InsnNode::InsnNode(), MsgNode::MsgNode(), SpliceOutNode::SpliceOutNode(), and UserNode::UserNode().
|
inherited |
return the ID mapping describing the operation behind the trace node
|
inherited |
return the ID mapping describing the operation behind the trace node
|
inherited |
return the ID mapping describing the operation behind the trace node
|
virtualinherited |
this can be called only on nodes with exactly one parent
Reimplemented in JoinNode.
Referenced by NodeHandle::node(), NodeHandle::NodeHandle(), and Node::printNode().
|
inlineinherited |
reference to list of parents (containing 0..n pointers)
Definition at line 89 of file symtrace.hh.
References NodeBase::parents_.
|
protectedvirtual |
serialize this node to the given plot (externally not much useful)
Implements Node.
|
virtual |
print the node in a human-readable format if considered interesting
Reimplemented from Node.
|
private |
Definition at line 282 of file symtrace.hh.
|
private |
Definition at line 281 of file symtrace.hh.
|
protectedinherited |
Definition at line 173 of file symtrace.hh.
Referenced by JoinNode::JoinNode(), and Node::Node().
|
private |
Definition at line 279 of file symtrace.hh.
|
private |
Definition at line 280 of file symtrace.hh.
|
protectedinherited |
list of all (0..n) parent nodes
Definition at line 70 of file symtrace.hh.
Referenced by Node::Node(), and NodeBase::parents().