Fuzzing against verified fork of spec interpreter (#3843)
* Revert "Remove spec interpreter fuzz target temporarily (#3399)"
This reverts commit 25d3fa4d7b.
* add support for differential fuzzing against verified OCaml interpreter
* formatting
* comments
* fix missing dep case
* fix build error
* fix unit tests?
* restore previous differential_v8 max_table config
* attempt: add OCaml deps
* fix interpeter github repo
* fix spec repo url
* fix zarith package
* fix unit test
This commit is contained in:
@@ -20,6 +20,10 @@ fn run(data: &[u8]) -> Result<()> {
|
||||
config.module_config.config.bulk_memory_enabled = true;
|
||||
config.module_config.config.reference_types_enabled = true;
|
||||
|
||||
// Allow multiple tables, as set_differential_config() assumes reference
|
||||
// types are disabled and therefore sets max_tables to 1
|
||||
config.module_config.config.max_tables = 4;
|
||||
|
||||
let module = config.generate(&mut u, Some(1000))?;
|
||||
oracles::differential_v8_execution(&module.to_bytes(), &config);
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user