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

Error: Buffer still has 851309 bytes #21

Open
12915494174 opened this issue Dec 16, 2022 · 2 comments
Open

Error: Buffer still has 851309 bytes #21

12915494174 opened this issue Dec 16, 2022 · 2 comments

Comments

@12915494174
Copy link

Hello, I encountered this error when trying to convert wasm into normal assembly using this tool. Is there a solution to this problem now?
Error: Buffer still has 851309 bytes
at exports.parseEnd (/root/rustCode/wasm-to-asm/parse/index.js:28:15)
at /root/rustCode/wasm-to-asm/parse/index.js:6:34
at /root/rustCode/wasm-to-asm/parse/index.js:7:44
at /root/rustCode/wasm-to-asm/parse/index.js:7:44
at Object.parseModule (/root/rustCode/wasm-to-asm/parse/index.js:7:44)
at /root/rustCode/wasm-to-asm/main.js:25:41
at async Promise.all (index 0)
at async /root/rustCode/wasm-to-asm/main.js:19:21

@calebsander
Copy link
Owner

Can you share the wasm file you are parsing?
FYI this was a very experimental tool I was implementing for fun, so it's probably not production-ready. But happy to fix any bugs you find!

@12915494174
Copy link
Author

It's my pleasure to share with you. I uploaded this file to github, where you can download it.
https://github.com/12915494174/tmp_wasm.git

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