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

Wrong bytecode version with hbcdump #1451

Closed
weilanxiao opened this issue Jun 26, 2024 · 1 comment
Closed

Wrong bytecode version with hbcdump #1451

weilanxiao opened this issue Jun 26, 2024 · 1 comment
Labels
question Further information is requested

Comments

@weilanxiao
Copy link

Bug Description

I am receiving the following error when using hbcdump version 0.12.0.

input

./hbcdump -objdump-disassemble ./assets/index.android.bundle

output

Error: fail to deserializing bytecode: Wrong bytecode version. Expected 89 but got 96%

@weilanxiao weilanxiao added the bug Something isn't working label Jun 26, 2024
@neildhar
Copy link
Contributor

Hey @weilanxiao, it looks like you're trying to use hbcdump from 0.12.0 to dump bytecode from a newer version of Hermes. You'll need a newer version of hbcdump, corresponding to the version of Hermes that you are trying to dump bytecode for. Please take a look at this related discussion: #1449

@neildhar neildhar added question Further information is requested and removed bug Something isn't working labels Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants