DCCallMutatorNode Class Reference

#include <CallNodes.h>

Inheritance diagram for DCCallMutatorNode:

BinNode Node PrintHelperNode List of all members.

Public Member Functions

 DCCallMutatorNode (const uint32 opcode, const uint32 offset, const uint32 newNumBytes)
 DCCallMutatorNode (const uint32 opcode, const uint32 offset)
 ~DCCallMutatorNode ()
void print_unk (Console &o, const uint32 isize, const bool comment) const
void print_unk (Console &o, const uint32 isize) const
void print_asm (Console &o) const
void print_bin (ODequeDataSource &o) const
bool fold (DCUnit *unit, std::deque< Node * > &nodes)
const Nodea_lnode () const
const Nodea_rnode () const

Protected Types

 PUSH_INDIRECT
 SET_INFO
 PROCESS_EXCLUDE
enum  mutatortype { PUSH_INDIRECT, SET_INFO, PROCESS_EXCLUDE }

Protected Attributes

enum DCCallMutatorNode::mutatortype mtype

Private Attributes

uint32 numBytes

Detailed Description

Definition at line 73 of file CallNodes.h.


Member Enumeration Documentation

enum DCCallMutatorNode::mutatortype [protected]

Enumerator:
PUSH_INDIRECT 
SET_INFO 
PROCESS_EXCLUDE 

Definition at line 108 of file CallNodes.h.


Constructor & Destructor Documentation

DCCallMutatorNode::DCCallMutatorNode ( const uint32  opcode,
const uint32  offset,
const uint32  newNumBytes 
) [inline]

Definition at line 76 of file CallNodes.h.

References acceptOp(), mtype, numBytes, PUSH_INDIRECT, Node::rtype(), and Type::T_WORD.

DCCallMutatorNode::DCCallMutatorNode ( const uint32  opcode,
const uint32  offset 
) [inline]

Definition at line 87 of file CallNodes.h.

References acceptOp(), mtype, PROCESS_EXCLUDE, and SET_INFO.

DCCallMutatorNode::~DCCallMutatorNode (  )  [inline]

Definition at line 98 of file CallNodes.h.


Member Function Documentation

const Node* DCCallMutatorNode::a_lnode (  )  const [inline]

Definition at line 114 of file CallNodes.h.

References BinNode::lnode.

const Node* DCCallMutatorNode::a_rnode (  )  const [inline]

Definition at line 115 of file CallNodes.h.

References BinNode::rnode.

bool DCCallMutatorNode::fold ( DCUnit unit,
std::deque< Node * > &  nodes 
) [virtual]

Implements Node.

Definition at line 232 of file CallNodes.cpp.

References BinNode::grab_l(), BinNode::grab_r(), mtype, print_assert(), PROCESS_EXCLUDE, PUSH_INDIRECT, SET_INFO, Type::T_DWORD, and Type::T_WORD.

void DCCallMutatorNode::print_asm ( Console o  )  const [virtual]

Reimplemented from Node.

Definition at line 177 of file CallNodes.cpp.

References BinNode::lnode, mtype, numBytes, Node::print_asm(), print_assert(), Console::Printf(), PROCESS_EXCLUDE, PUSH_INDIRECT, Console::Putchar(), BinNode::rnode, Node::rtype(), SET_INFO, and Type::T_INVALID.

Referenced by DCFuncNode::print_asm().

void DCCallMutatorNode::print_bin ( ODequeDataSource o  )  const [virtual]

Implements Node.

Definition at line 206 of file CallNodes.cpp.

References BinNode::lnode, mtype, numBytes, print_assert(), Node::print_bin(), PROCESS_EXCLUDE, PUSH_INDIRECT, BinNode::rnode, Node::rtype(), SET_INFO, Type::T_INVALID, and ODequeDataSource::write1().

Referenced by DCFuncNode::print_bin().

void DCCallMutatorNode::print_unk ( Console o,
const uint32  isize 
) const [inline, virtual]

Implements Node.

Definition at line 101 of file CallNodes.h.

References print_unk().

void DCCallMutatorNode::print_unk ( Console o,
const uint32  isize,
const bool  comment 
) const

Definition at line 149 of file CallNodes.cpp.

References BinNode::lnode, mtype, numBytes, print_assert(), Node::print_unk(), Console::Printf(), PROCESS_EXCLUDE, PUSH_INDIRECT, Console::Putchar(), BinNode::rnode, Node::rtype(), SET_INFO, and Type::T_INVALID.

Referenced by print_unk().


Member Data Documentation

enum DCCallMutatorNode::mutatortype DCCallMutatorNode::mtype [protected]

Referenced by DCCallMutatorNode(), fold(), print_asm(), print_bin(), and print_unk().

uint32 DCCallMutatorNode::numBytes [private]

Definition at line 111 of file CallNodes.h.

Referenced by DCCallMutatorNode(), print_asm(), print_bin(), and print_unk().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:06 2007 for pentagram by  doxygen 1.4.7