The Pedigree Project
0.1
|
#include <Disassembler.h>
Public Member Functions | |
void | setLocation (uintptr_t nLocation) |
uintptr_t | getLocation () |
void | setMode (size_t nMode) |
void | disassemble (LargeStaticString &text) |
Public Member Functions inherited from DisassemblerBase | |
virtual | ~DisassemblerBase () |
Private Member Functions | |
void | disassembleSpecial (uint32_t nInstruction, LargeStaticString &text) |
void | disassembleRegImm (uint32_t nInstruction, LargeStaticString &text) |
void | disassembleOpcode (uint32_t nInstruction, LargeStaticString &text) |
Private Attributes | |
uintptr_t | m_nLocation |
A disassembler for R3000-R6000 MIPS32/64 processors.
Definition at line 29 of file kernel/core/processor/mips_common/Disassembler.h.
|
virtual |
Disassembles one instruction and populates the given StaticString with a textual representation.
Implements DisassemblerBase.
Definition at line 127 of file mips_common/Disassembler.cc.
References Arm926EDisassembler::m_nLocation.
|
virtual |
Gets the location of the next instruction to be disassembled.
Implements DisassemblerBase.
Definition at line 118 of file mips_common/Disassembler.cc.
References Arm926EDisassembler::m_nLocation.
|
virtual |
Sets the location of the next instruction to be disassembled.
Implements DisassemblerBase.
Definition at line 113 of file mips_common/Disassembler.cc.
References Arm926EDisassembler::m_nLocation.
|
virtual |
Sets the mode of disassembly - 16-bit, 32-bit or 64-bit If a disassembler doesn't support a requested mode, it should return without changing anything.
nMode | Mode - 16, 32 or 64. |
Implements DisassemblerBase.
Definition at line 123 of file mips_common/Disassembler.cc.
|
private |
Current disassembling location in memory.
Definition at line 63 of file kernel/core/processor/mips_common/Disassembler.h.
Referenced by PPCDisassembler::disassemble(), PPCDisassembler::getLocation(), PPCDisassembler::setLocation(), and PPCDisassembler::twi().