You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fuzz: remove afl feature, clean up fuzztests a bit
Substantially rewrite the `encode_decode` fuzztest, which had some
ugly/awkward control flow. For the other tests, remove the AFL feature
which has not been used in years and the now-unneeded `extern crate` and
`macro_use` calls.
Now you can fuzz things by just running `cargo hfuzz` directly without
needing to set rustflags etc.
Also run shellcheck on fuzz.sh, add a bunch of quotes to it, and change
the runtime from 100000 iterations (which seems to run in less than a
second on my system for all the existing tests) to a fixed 10 seconds.
This does **not** pull the full rust-bitcoin fuzztest scripts over. I
would like to wait until the "move fuzztests to cron" PR merges in
rust-bitcoin, and consider trying to move all the scripts into a shared
repo rather than copy/pasting them in, before doing so.
0 commit comments