WebAssembly / WebAssembly/wabt

The version 1.0.39 can't decomplie normaly

Open
#2,671 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wasm-decompile
Dominant language
C++
Stars
8.1k
Forks
827
Avg merge
4d 6h
Merged PRs (30d)
18

Description

Hello:
I'm using wabt-1.0.39 to solve the "Some Assembly Required 2" challenge in PicoCTF.

Image

However, when I tried to decompile the wasm file using wasm-decompile.exe, I found that the encrypted string before and after compilation was the same.

Image Image

This prevented me from continuing with the challenge, which is different from the process described in other tutorials.

So, I tried using version 1.0.30, and I was able to continue decompiling the encrypted string.

Image

Is there a bug in version 1.0.39?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported wasm-decompile.exe workflow and compare its output for the same wasm file under wabt 1.0.39 and 1.0.30. Establish whether the unchanged encrypted string is a reproducible regression, then use that comparison to define the expected decompilation result and verify the issue is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
compilers, devtools, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.