The Pedigree Project
0.1
|
#include <Disassembler.h>
Public Member Functions | |
void | setLocation (uintptr_t location) |
uintptr_t | getLocation () |
void | setMode (size_t mode) |
void | disassemble (LargeStaticString &text) |
Public Member Functions inherited from DisassemblerBase | |
virtual | ~DisassemblerBase () |
Private Attributes | |
uintptr_t | m_Location |
int | m_Mode |
ud_t | m_Obj |
A disassembler for x86/x64 processors.
Definition at line 31 of file kernel/core/processor/x86_common/Disassembler.h.
|
virtual |
Disassembles one instruction and populates the given StaticString with a textual representation.
Implements DisassemblerBase.
Definition at line 59 of file x86_common/Disassembler.cc.
|
virtual |
Gets the location of the next instruction to be disassembled.
Implements DisassemblerBase.
Definition at line 47 of file x86_common/Disassembler.cc.
|
virtual |
Sets the location of the next instruction to be disassembled.
Implements DisassemblerBase.
Definition at line 38 of file x86_common/Disassembler.cc.
|
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.
mode | Mode - 16, 32 or 64. |
Implements DisassemblerBase.
Definition at line 52 of file x86_common/Disassembler.cc.
|
private |
Current disassembling location in memory.
Definition at line 65 of file kernel/core/processor/x86_common/Disassembler.h.
|
private |
Current mode.
Definition at line 70 of file kernel/core/processor/x86_common/Disassembler.h.
|
private |
Disassembler object.
Definition at line 75 of file kernel/core/processor/x86_common/Disassembler.h.