add a fuzz_matches_original() function to the fuzzer to
authordjm <djm@openbsd.org>
Sun, 18 Jan 2015 19:52:44 +0000 (19:52 +0000)
committerdjm <djm@openbsd.org>
Sun, 18 Jan 2015 19:52:44 +0000 (19:52 +0000)
commit60d08003695c4320e3b392beb0fad1a5db2b8222
treef76e48a2fd73be279cdaf7c9c802ba08346e3fc0
parent87cf98b2fbb62c4f145ae88e7c6b415c037c387d
add a fuzz_matches_original() function to the fuzzer to
detect fuzz cases that are identical to the original data.
Hacky implementation, but very useful when you need the
fuzz to be different, e.g. when verifying signature
regress/usr.bin/ssh/unittests/test_helper/fuzz.c
regress/usr.bin/ssh/unittests/test_helper/test_helper.h