| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| jrel_op('JUMP_BACKWARD', 140) # Number of words to skip (backwards) | ||
|
|
||
| def_op('COMPARE_AND_BRANCH', 141) # Comparison and jump | ||
| hascompare.append(141) |
There was a problem hiding this comment.
This opcode needs to be in hasjrel as well.
Sorry, something went wrong.
There was a problem hiding this comment.
The problem is that dis sees COMPARE_AND_BRANCH, then POP_JUMP_IF_. The POP_JUMP_IF_ is where we jump from.
So marking COMPARE_AND_BRANCH as a jump confuses dis, it thinks the operator is a jump offset. COMPARE_AND_BRANCH is effectively a superinstruction.
I could special case COMPARE_AND_BRANCH in dis, but I think it might be better to wait for proper support for longer instructions.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.