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:
parent
a7268c3c74
commit
06ece474e9
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/skyrising
Commit: 06ece474e9
Pull-request: https://github.com/SerenityOS/serenity/pull/15465
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/Hendiadyoin1
4 changed files with 98 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue