Descriptionfuzz: signalBug() / signalBoring()
Instead of a single ASSERT macro, this switches to two new methods:
- signalBug(): tell afl-fuzz there's a bug caused by its inputs (by crashing)
- signalBoring(): tell afl-fuzz these inputs are not worth testing (by exiting gracefully)
I'm not seeing any effect on fuzz/s when I just always log verbosely.
signalBug() now triggers SIGSEGV rather than SIGABRT. This should make it work with catchsegv more easily.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1585353002
Committed: https://skia.googlesource.com/skia/+/a115942ed69762206f87c680ef7ec98de3382fa6
Patch Set 1 #Patch Set 2 : repro #Patch Set 3 : always print #Patch Set 4 : demo signalBoring #Patch Set 5 : more logging #Patch Set 6 : SIGABRT -> SIGSEGV #Patch Set 7 : stdlib for abs() #
Messages
Total messages: 19 (12 generated)
|