Skip to content

Conversation

@rth7680
Copy link
Contributor

@rth7680 rth7680 commented May 23, 2019

Extract the length of an unknown instruction fromt the top two bits.
This enables the disassembler to stay in sync with the intended
instruction stream.

Signed-off-by: Richard Henderson [email protected]

@aquynh
Copy link
Collaborator

aquynh commented May 23, 2019

Please use tab for indentation.

This PR assumes that this is unknown code, but what if it is data, which is the original motivation of this feature?

@rth7680
Copy link
Contributor Author

rth7680 commented May 23, 2019

If it's data, and not just an unknown instruction, then we'll skip a variable amount per query. Which, might look a little odd but will not lose data. Motivating examples now added to #1495 .
I did use tabs for indentation. Where do you see that I missed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants