Files
wasmtime/crates/fuzzing/wasm-spec-interpreter/ocaml
Conrad Watt c8daf0b8db support SIMD fuzzing in reference interpreter (#3980)
* support SIMD fuzzing in reference interpreter

* formatting
2022-03-31 10:07:39 -05:00
..

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. See LIBGMP_PATHS in the makefile.