You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that, in the decoded arg, the Disp is int64(0xffffea0d). Whereas it should be a negative number instead as the displacement is always signed.
I haven't checked other use of Mem, but I suspect they all have this problem.
Yeah, it's related.
It seems we need even better tests for x86asm.
I'm quite surprised that x86asm is still missing basic instructions
(#18665) as I think it has been very thoroughly tested against multiple
disassemblers.
The program outputs:
lea 0xffffea0d(%rip),%rax
which is obviously incorrect. The correct disassembly should be:
The problem is that, in the decoded arg, the Disp is int64(0xffffea0d). Whereas it should be a negative number instead as the displacement is always signed.
I haven't checked other use of Mem, but I suspect they all have this problem.
/cc @rsc
The text was updated successfully, but these errors were encountered: