-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disassembler not correctly representing negative offsets #214
Comments
|
I forgot rbpf has its own disassembler. Thanks for reporting these errors. |
I don't see two immediate operands in disassembler output. |
I mean |
yes, it's a 64-bit immediate value, and it is decoded from the 128-bits of the instruction code. There are no two immediates. Not all bits of the 128-bit instruction code are used. Can you give an example of code that was disassembled incorrectly? |
Wait. Sorry, I'm stupid. I didn't realise that |
An instruction such as:
Is disassembled to:
Whereas I believe it should be:
It seems like this applies to all instructions involving offsets.
The text was updated successfully, but these errors were encountered: