Skip to content

Commit 3702e80

Browse files
committed
Bump wasm-mutate to 0.2.0
1 parent 4aa0a09 commit 3702e80

File tree

7 files changed

+21
-22
lines changed

7 files changed

+21
-22
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-tools"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
authors = ["The Wasmtime Project Developers"]
55
edition = "2018"
66
description = "CLI tools for interoperating with WebAssembly files"
@@ -24,11 +24,11 @@ tempfile = "3.2.0"
2424
wat = { path = "crates/wat", optional = true, version = '1.0.41' }
2525

2626
# Dependencies of `validate`
27-
wasmparser = { path = "crates/wasmparser", optional = true, version = '0.82.0' }
27+
wasmparser = { path = "crates/wasmparser", optional = true, version = '0.83.0' }
2828
rayon = { version = "1.0", optional = true }
2929

3030
# Dependencies of `print`
31-
wasmprinter = { path = "crates/wasmprinter", optional = true, version = '0.2.32' }
31+
wasmprinter = { path = "crates/wasmprinter", optional = true, version = '0.2.33' }
3232

3333
# Dependencies of `smith`
3434
arbitrary = { version = "1.0.0", optional = true }
@@ -37,14 +37,14 @@ serde_json = { version = "1", optional = true }
3737
wasm-smith = { path = "crates/wasm-smith", features = ["_internal_cli"], optional = true, version = '0.9.0' }
3838

3939
# Dependencies of `shrink`
40-
wasm-shrink = { path = "crates/wasm-shrink", features = ["clap"], optional = true, version = '0.1.1' }
40+
wasm-shrink = { path = "crates/wasm-shrink", features = ["clap"], optional = true, version = '0.1.2' }
4141
is_executable = { version = "1.0.1", optional = true }
4242

4343
# Dependencies of `mutate`
44-
wasm-mutate = { path = "crates/wasm-mutate", features = ["clap"], optional = true, version = '0.1.1' }
44+
wasm-mutate = { path = "crates/wasm-mutate", features = ["clap"], optional = true, version = '0.2.0' }
4545

4646
# Dependencies of `dump`
47-
wasmparser-dump = { path = "crates/dump", optional = true, version = '0.1.0' }
47+
wasmparser-dump = { path = "crates/dump", optional = true, version = '0.1.1' }
4848

4949
[dev-dependencies]
5050
anyhow = "1.0"

crates/dump/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmparser-dump"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["The Wasmtime Project Developers"]
55
edition = "2018"
66
license = "Apache-2.0 WITH LLVM-exception"
@@ -9,4 +9,4 @@ description = "Utility to dump debug information about the wasm binary format"
99

1010
[dependencies]
1111
anyhow = "1"
12-
wasmparser = { path = "../wasmparser", version = "0.82.0" }
12+
wasmparser = { path = "../wasmparser", version = "0.83.0" }

crates/wasm-mutate/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-mutate"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
edition = "2018"
55
license = "Apache-2.0 WITH LLVM-exception"
66
repository = "https://github.com/bytecodealliance/wasm-tools"
@@ -9,7 +9,7 @@ description = "A WebAssembly test case mutator"
99
[dependencies]
1010
clap = { optional = true, version = "3.0", features = ['derive'] }
1111
thiserror = "1.0.28"
12-
wasmparser = { version = "0.82.0", path = "../wasmparser" }
12+
wasmparser = { version = "0.83.0", path = "../wasmparser" }
1313
wasm-encoder = { version = "0.9.0", path = "../wasm-encoder"}
1414
rand = { version = "0.8.0", features = ["small_rng"] }
1515
log = "0.4.14"

crates/wasm-mutate/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<strong>wasm-mutate is a new tool for fuzzing Wasm compilers, runtimes, validators, and other Wasm-consuming programs.</strong>
88
</p>
99

10-
<!-- TODO add proper links -->
10+
<!-- TODO add proper links -->
1111
<p>
1212
<a href="https://crates.io/crates/wasm-mutate"><img src="https://img.shields.io/crates/v/wasm-mutate.svg?style=flat-square" alt="Crates.io version" /></a>
1313
<a href="https://crates.io/crates/wasm-mutate"><img src="https://img.shields.io/crates/d/wasm-mutate.svg?style=flat-square" alt="Download" /></a>
@@ -24,7 +24,7 @@ Add this to your `Cargo.toml`:
2424

2525
```toml
2626
[dependencies]
27-
wasm-mutate = "0.1.0"
27+
wasm-mutate = "0.2.0"
2828
```
2929

3030
You can mutate a WebAssembly binary by using the cli tool:
@@ -46,9 +46,9 @@ You can mutate a WebAssembly binary by using the cli tool:
4646
reuses the fuzzer's raw input strings. `wasm-mutate` works with the
4747
`LLVMFuzzerCustomMutator` hook and the
4848
`libfuzzer_sys::fuzz_mutator!` macro.
49-
49+
5050
### Example
51-
51+
5252
```rust
5353
#![no_main]
5454

@@ -124,7 +124,7 @@ You can mutate a WebAssembly binary by using the cli tool:
124124
.reduce(true);
125125

126126
while MAX_ITERATIONS > 0 {
127-
let new_wasm = wasmmutate.run(&wasm);
127+
let new_wasm = wasmmutate.run(&wasm);
128128
wasm = if check_equivalence(new_wasm, wasm) {
129129
wasm
130130
} else{
@@ -151,4 +151,3 @@ shall be licensed as above, without any additional terms or conditions.
151151
### Special contribution
152152

153153
* Javier Cabrera Arteaga (Phd. student at KTH)
154-

crates/wasm-shrink/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ license = "Apache-2.0 WITH LLVM-exception"
88
readme = "./README.md"
99
repository = "https://github.com/bytecodealliance/wasm-tools"
1010
name = "wasm-shrink"
11-
version = "0.1.1"
11+
version = "0.1.2"
1212

1313
[dependencies]
1414
anyhow = "1"
1515
blake3 = "1.2.0"
1616
log = "0.4"
1717
rand = { version = "0.8.4", features = ["small_rng"] }
1818
clap = { version = "3.0", optional = true, features = ['derive'] }
19-
wasm-mutate = { version = "0.1.1", path = "../wasm-mutate" }
20-
wasmparser = { version = "0.82.0", path = "../wasmparser" }
19+
wasm-mutate = { version = "0.2.0", path = "../wasm-mutate" }
20+
wasmparser = { version = "0.83.0", path = "../wasmparser" }
2121

2222
[dev-dependencies]
2323
env_logger = "0.9"

crates/wasmparser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmparser"
3-
version = "0.82.0"
3+
version = "0.83.0"
44
authors = ["Yury Delendik <[email protected]>"]
55
license = "Apache-2.0 WITH LLVM-exception"
66
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser"

crates/wasmprinter/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmprinter"
3-
version = "0.2.32"
3+
version = "0.2.33"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0 WITH LLVM-exception"
@@ -14,7 +14,7 @@ Rust converter from the WebAssembly binary format to the text format.
1414

1515
[dependencies]
1616
anyhow = "1.0"
17-
wasmparser = { path = '../wasmparser', version = '0.82.0' }
17+
wasmparser = { path = '../wasmparser', version = '0.83.0' }
1818

1919
[dev-dependencies]
2020
diff = "0.1"

0 commit comments

Comments
 (0)