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

Parsing a hello-world wasm causes an error #2

Open
hajimehoshi opened this issue Feb 26, 2020 · 3 comments
Open

Parsing a hello-world wasm causes an error #2

hajimehoshi opened this issue Feb 26, 2020 · 3 comments

Comments

@hajimehoshi
Copy link

I prepared this Go file

package main

func main() {
        println("Hello, World!")
}

and compiled it as Wasm (GOOS=js GOARCH=wasm go build -o helloworld.wasm main.go). I found the error when passing this wasm file to Parse.

[0x1321e3] parse section: entry 16715: read data section offset initializer: EOF

My Go version is 1.14.

Thanks!

@hajimehoshi
Copy link
Author

I think EOF is an expected error and the read date should exist at the same time.

@hxkhan
Copy link

hxkhan commented Jan 30, 2021

The author seems to have abandoned it. I checked out the code and its pretty nicely written. The implementation is a bit outdated since this package hasn't been updated in three years hence the errors. I know you're working on a go2cpp project and this would help in the long run if maintained.

People just need to know about it and we'll have a community to maintain it.
A Wasm parser is nice package to have anyways.

@aykevl
Copy link

aykevl commented Oct 30, 2021

@hajimehoshi you might want to try #4.

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

3 participants