Skip to content
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

Normalization bug in processing of the iinc opcode #37

Open
fweimer opened this issue Aug 10, 2014 · 2 comments
Open

Normalization bug in processing of the iinc opcode #37

fweimer opened this issue Aug 10, 2014 · 2 comments

Comments

@fweimer
Copy link
Contributor

fweimer commented Aug 10, 2014

The wide flag is not reset after processing a wide iinc opcode. Depending on the remaining bytecode, this can cause the bytecode parser to desynchronize and result in exceptions.
Fortunately, wide iinc instructions are relatively rare, but some classes will change their normalization if this bug is fixed.

@OndraZizka
Copy link

What code is this related to?

@fweimer
Copy link
Contributor Author

fweimer commented Jun 1, 2016

The formatBytecode method in com.redhat.victims.fingerprint.ClassFile.

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

No branches or pull requests

2 participants