#include <CallNodes.h>
Inheritance diagram for DCCallMutatorNode:
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 Node * | a_lnode () const |
const Node * | a_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 |
Definition at line 73 of file CallNodes.h.
enum DCCallMutatorNode::mutatortype [protected] |
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.
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.
const Node* DCCallMutatorNode::a_lnode | ( | ) | const [inline] |
const Node* DCCallMutatorNode::a_rnode | ( | ) | const [inline] |
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().
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().
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().