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
First of all, thank you for writing this blog post in such incredible detail!
From what I understand, there is a bug in the assembling of call instructions, which causes the target to be one byte lower than the correct address.
Current implementation computes src address after emiting the opcode byte 0xE8: emit [0xE8] src <- gets _memoff imm (dst - (src + 5))
I believe that src <- gets _memoff should happen prior to emit [0xE8]
The text was updated successfully, but these errors were encountered:
First of all, thank you for writing this blog post in such incredible detail!
From what I understand, there is a bug in the assembling of call instructions, which causes the target to be one byte lower than the correct address.
Current implementation computes
src
address after emiting the opcode byte0xE8
:emit [0xE8]
src <- gets _memoff
imm (dst - (src + 5))
I believe that
src <- gets _memoff
should happen prior toemit [0xE8]
The text was updated successfully, but these errors were encountered: