You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andrew Brown c3f8415ac7
fuzz: improve the spec interpreter (#4881)
2 years ago
..
.gitignore fuzz: retrieve the WebAssembly spec repository in `build.rs` 3 years ago
Makefile fuzz: improve wasm-spec-interpreter documentation, add library path (#4007) 3 years ago
README.md fuzz: improve wasm-spec-interpreter documentation, add library path (#4007) 3 years ago
interpret.ml fuzz: improve the spec interpreter (#4881) 2 years ago

README.md

This directory contains the necessary parts for building a library with FFI access to the Wasm spec interpreter. Its major parts:

  • spec: the Wasm spec code as a Git submodule (you may need to retrieve it: git clone -b wasmtime_fuzzing https://github.com/conrad-watt/spec).
  • interpret.ml: a shim layer for calling the Wasm spec code and exposing it for FFI access
  • Makefile: the steps for gluing these pieces together into a static library

Note: the Makefile must be configured with the path to libgmp.a; see LIBGMP_PATHS in the Makefile (Ubuntu: libgmp-dev, Fedora: gmp-static).