Update wasmi used for differential fuzzing (#4436)

This fixes a bug recently found on oss-fuzz which was fixed in
paritytech/wasmi#295 and paritytech/wasmi#293.
This commit is contained in:
Alex Crichton
2022-07-12 13:41:00 -05:00
committed by GitHub
parent f242975c49
commit 56831e0a76
2 changed files with 12 additions and 12 deletions

22
Cargo.lock generated
View File

@@ -1742,9 +1742,9 @@ dependencies = [
[[package]] [[package]]
name = "num-bigint" name = "num-bigint"
version = "0.2.6" version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f"
dependencies = [ dependencies = [
"autocfg 1.1.0", "autocfg 1.1.0",
"num-integer", "num-integer",
@@ -1793,9 +1793,9 @@ dependencies = [
[[package]] [[package]]
name = "num-rational" name = "num-rational"
version = "0.2.4" version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
dependencies = [ dependencies = [
"autocfg 1.1.0", "autocfg 1.1.0",
"num-bigint", "num-bigint",
@@ -1955,9 +1955,9 @@ dependencies = [
[[package]] [[package]]
name = "parity-wasm" name = "parity-wasm"
version = "0.41.0" version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92"
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
@@ -3265,12 +3265,12 @@ dependencies = [
[[package]] [[package]]
name = "wasmi" name = "wasmi"
version = "0.7.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4bb6825d9b2147105789adb4c2d84b9b568719713f3ac39618b637b4dafc86c4" checksum = "0a3cb58f98e4d6c944af18c2c9002f22d0b928dfbb8b6c2b7d78a8573a5216bf"
dependencies = [ dependencies = [
"downcast-rs", "downcast-rs",
"libc", "libm",
"memory_units", "memory_units",
"num-rational", "num-rational",
"num-traits", "num-traits",
@@ -3280,9 +3280,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmi-validation" name = "wasmi-validation"
version = "0.3.0" version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea78c597064ba73596099281e2f4cfc019075122a65cdda3205af94f0b264d93" checksum = "165343ecd6c018fc09ebcae280752702c9a2ef3e6f8d02f1cfcbdb53ef6d7937"
dependencies = [ dependencies = [
"parity-wasm", "parity-wasm",
] ]

View File

@@ -23,7 +23,7 @@ wasm-encoder = "0.14.0"
wasm-smith = "0.11.2" wasm-smith = "0.11.2"
wasm-mutate = "0.2.5" wasm-mutate = "0.2.5"
wasm-spec-interpreter = { path = "./wasm-spec-interpreter", optional = true } wasm-spec-interpreter = { path = "./wasm-spec-interpreter", optional = true }
wasmi = "0.7.0" wasmi = "0.11.0"
# We rely on precompiled v8 binaries, but rusty-v8 doesn't have a precompiled # We rely on precompiled v8 binaries, but rusty-v8 doesn't have a precompiled
# binary for MinGW which is built on our CI. It does have one for Windows-msvc, # binary for MinGW which is built on our CI. It does have one for Windows-msvc,