Skip to content

Releases: yomaytk/elfconv

v0.1.0

29 Mar 05:41
0979d9a
Compare
Choose a tag to compare

Initial release!

Quick Start

You can translate the ELF binary to the WASM binary using elfconv.sh. TARGET should be wasm-host for WASI runtimes or wasm-browser for the browser. elfconv generates the WASM using emscripten for the browser and wasi-sdk for WASI runtimes, so please configure the following settings.

settings

emscripten

emcc: compile command of emscripten

wasi-sdk

WASI_SDK_PATH: path to the parent directory of bin of wasi-sdk.

command

After configuring the above settings, you can try translation by the command as follows.

$ cd <unzipped directory>
$ TARGET=wasm-host ./elfconv.sh </path/to/ELF> ./bitcode