diff options
Diffstat (limited to 'Userland/Libraries/LibX86/Disassembler.h')
-rw-r--r-- | Userland/Libraries/LibX86/Disassembler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibX86/Disassembler.h b/Userland/Libraries/LibX86/Disassembler.h index 33d24f7c5e..8d453f318f 100644 --- a/Userland/Libraries/LibX86/Disassembler.h +++ b/Userland/Libraries/LibX86/Disassembler.h @@ -22,7 +22,12 @@ public: { if (!m_stream.can_read()) return {}; +#if ARCH(I386) return Instruction::from_stream(m_stream, true, true); +#else + dbgln("FIXME: Implement disassembly support for x86_64"); + return {}; +#endif } private: |