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

Decompile script bytecode will panic. #3

Open
kynehc opened this issue Mar 7, 2024 · 1 comment
Open

Decompile script bytecode will panic. #3

kynehc opened this issue Mar 7, 2024 · 1 comment

Comments

@kynehc
Copy link

kynehc commented Mar 7, 2024

./revela -s -b third_party/move/tools/revela/tests/bytecode/set_vals.mv

This cause the following results:

thread 'main' panicked at third_party/move/tools/revela/src/decompiler/bin_to_compiler_translator.rs:467:10:
invalid bounds in module: PartialVMError { major_status: INDEX_OUT_OF_BOUNDS, sub_status: None, message: Some("Index 2 out of bounds for 2 while indexing address identifier"), exec_state: None, indices: [(AddressIdentifier, 2)], offsets: [] }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I also tested other script bytecodes and also got panic.

@aquynh
Copy link
Collaborator

aquynh commented Mar 7, 2024

if you can fix this issue, please make pull req

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