#include <FuncNodes.h>
Inheritance diagram for FuncMutatorNode:
Public Member Functions | |
FuncMutatorNode (const uint32 opcode, const uint32 offset, const uint32 newValue1) | |
FuncMutatorNode (const uint32 opcode, const uint32 offset, const uint32 newSymbolOffset, const std::string &newClassName) | |
FuncMutatorNode (const uint32 opcode, const uint32 offset) | |
~FuncMutatorNode () | |
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) |
uint32 | a_initsize () const |
Protected Types | |
RET | |
INIT | |
LINE_NUMBER | |
SYMBOL_INFO | |
SUSPEND | |
END | |
enum | mutatortype { RET, INIT, LINE_NUMBER, SYMBOL_INFO, SUSPEND, END } |
Protected Attributes | |
enum FuncMutatorNode::mutatortype | mtype |
Private Attributes | |
uint32 | _initsize |
uint32 | _linenum |
uint32 | _symboloffset |
std::string | _classname |
Definition at line 29 of file FuncNodes.h.
enum FuncMutatorNode::mutatortype [protected] |
FuncMutatorNode::~FuncMutatorNode | ( | ) | [inline] |
Definition at line 64 of file FuncNodes.h.
uint32 FuncMutatorNode::a_initsize | ( | ) | const [inline] |
Implements Node.
Definition at line 101 of file FuncNodes.cpp.
References _classname, _symboloffset, END, Node::fold_linenum(), mtype, print_assert(), DCUnit::setClassName(), DCUnit::setDebugOffset(), and SYMBOL_INFO.
void FuncMutatorNode::print_asm | ( | Console & | o | ) | const [virtual] |
Reimplemented from Node.
Definition at line 66 of file FuncNodes.cpp.
References _classname, _linenum, _symboloffset, END, INIT, LINE_NUMBER, mtype, Node::print_asm(), print_assert(), Node::print_linenum_asm(), Console::Printf(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, and Type::T_INVALID.
void FuncMutatorNode::print_bin | ( | ODequeDataSource & | o | ) | const [virtual] |
Implements Node.
Definition at line 85 of file FuncNodes.cpp.
References _classname, _linenum, Node::_offset, _symboloffset, END, INIT, LINE_NUMBER, mtype, print_assert(), Node::print_linenum_bin(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, Type::T_INVALID, ODequeDataSource::write(), ODequeDataSource::write1(), and ODequeDataSource::write2().
Definition at line 34 of file FuncNodes.cpp.
References _classname, _linenum, _symboloffset, END, INIT, LINE_NUMBER, mtype, print_assert(), Node::print_linenum_unk(), Console::Printf(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, and Type::T_INVALID.
Referenced by print_unk().
std::string FuncMutatorNode::_classname [private] |
Definition at line 79 of file FuncNodes.h.
Referenced by fold(), print_asm(), print_bin(), and print_unk().
uint32 FuncMutatorNode::_initsize [private] |
uint32 FuncMutatorNode::_linenum [private] |
uint32 FuncMutatorNode::_symboloffset [private] |
Definition at line 78 of file FuncNodes.h.
Referenced by fold(), print_asm(), print_bin(), and print_unk().
enum FuncMutatorNode::mutatortype FuncMutatorNode::mtype [protected] |
Referenced by a_initsize(), fold(), FuncMutatorNode(), print_asm(), print_bin(), and print_unk().