1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

LibX86: Add {Address,Operand}Size::Size64

For now the opcode tables for OperandSize::Size64 are empty
This commit is contained in:
Simon Wanner 2022-03-25 00:08:40 +01:00 committed by Andreas Kling
parent a7268c3c74
commit 06ece474e9
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00
4 changed files with 98 additions and 11 deletions

View file

@ -25,8 +25,12 @@ public:
#if ARCH(I386)
return Instruction::from_stream(m_stream, OperandSize::Size32, AddressSize::Size32);
#else
dbgln("FIXME: Implement disassembly support for x86_64");
# if ARCH(X86_64)
return Instruction::from_stream(m_stream, OperandSize::Size64, AddressSize::Size64);
# else
dbgln("Unsupported platform");
return {};
# endif
#endif
}