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
Write a small a small example program that crashes only when cfg!(fuzzing) is not set.
Add a test to verify that cargo-afl finds a crash exactly when cfg!(fuzzing) is not set, i.e., when cargo-afl is run with AFL_NO_CFG_FUZZING enabled.
Ideally, the example program will not just crash outright when cfg!(fuzzing) is not set. That is, cargo-afl should still have to do some work (e.g., flip a bit) to get the program to crash.
The text was updated successfully, but these errors were encountered:
Background: #306 #398
The steps would be (roughly):
cfg!(fuzzing)
is not set.cargo-afl
finds a crash exactly whencfg!(fuzzing)
is not set, i.e., whencargo-afl
is run withAFL_NO_CFG_FUZZING
enabled.Ideally, the example program will not just crash outright when
cfg!(fuzzing)
is not set. That is,cargo-afl
should still have to do some work (e.g., flip a bit) to get the program to crash.The text was updated successfully, but these errors were encountered: