(no title)
denniskane | 7 years ago
First, do this:
$ cp /site/root/system/wasms/games/binjgb.wasm .
The system is built around the concept of command libraries. You are going to need to import the wasm library like this:
$ import wasm
This loads a fairly powerful command called parsewasm. To get an informational printout of the toplevel sections in that file, run the command:
$ parsewasm --toplevel binjgb.wasm
There are lots of other subcommands in parsewasm, but the coolest part is that you can list out the names of exported functions and then dump out the code bodies of whatever functions you want to inspect.
No comments yet.