Skip to content

Commit d83c4d9

Browse files
committed
fuzz: Disable jetscii for more stability
1 parent a0e3149 commit d83c4d9

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

fuzz/Cargo.lock

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fuzz/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ cargo-fuzz = true
99
[dependencies]
1010
libfuzzer-sys = "0.4"
1111
afl = { version = "0.17.0", optional = true }
12-
html5gum = { path = "../" }
12+
html5gum = { path = "../", default-features = false }
1313
pretty_assertions = "1.0.0"
1414

1515
# thirdparty crates to fuzz against
16-
html5gum_old = { version = "=0.6.1", package = "html5gum" }
16+
html5gum_old = { version = "=0.6.1", package = "html5gum", default-features = false }
1717
html5ever = "0.36.1"
1818
swc_common = "18.0"
1919
swc_html_parser = "18.0"

fuzz/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,9 @@ other's testcases to some degree, as `cargo-fuzz` is wired to read from both
8989
`in/` and `out/`, and AFL is wired to read from `in/` and manage its queue in
9090
`out/`. See [AFL compatibility in libfuzzer
9191
docs](https://llvm.org/docs/LibFuzzer.html#afl-compatibility).
92+
93+
## Stability
94+
95+
The `jetscii` crate is causing instability in AFL coverage instrumentation and
96+
has therefore been disabled in html5gum. The `memchr` crate probably has
97+
stability issues too, if third-party parsers use it.

0 commit comments

Comments
 (0)