mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
LibX86: Stub out Disassembler::next() for x86_64
LibX86 doesn't currently support x86_64 opcodes which causes Profiler to crash when clicking on any symbol in the call graph.
This commit is contained in:
parent
3bd14941c7
commit
594903742b
1 changed files with 5 additions and 0 deletions
|
@ -22,7 +22,12 @@ public:
|
||||||
{
|
{
|
||||||
if (!m_stream.can_read())
|
if (!m_stream.can_read())
|
||||||
return {};
|
return {};
|
||||||
|
#if ARCH(I386)
|
||||||
return Instruction::from_stream(m_stream, true, true);
|
return Instruction::from_stream(m_stream, true, true);
|
||||||
|
#else
|
||||||
|
dbgln("FIXME: Implement disassembly support for x86_64");
|
||||||
|
return {};
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue