mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
fix pizza mode
This commit is contained in:
@ -604,11 +604,7 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (afl->afl_env.afl_pizza_mode == 0) {
|
if (afl->afl_env.afl_pizza_mode) {
|
||||||
|
|
||||||
afl->afl_env.afl_pizza_mode = 1;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
afl->pizza_is_served = 1;
|
afl->pizza_is_served = 1;
|
||||||
|
|
||||||
|
@ -2560,7 +2560,7 @@ stop_fuzzing:
|
|||||||
write_bitmap(afl);
|
write_bitmap(afl);
|
||||||
save_auto(afl);
|
save_auto(afl);
|
||||||
|
|
||||||
if (afl->afl_env.afl_pizza_mode) {
|
if (afl->pizza_is_served) {
|
||||||
|
|
||||||
SAYF(CURSOR_SHOW cLRD "\n\n+++ Baking aborted %s +++\n" cRST,
|
SAYF(CURSOR_SHOW cLRD "\n\n+++ Baking aborted %s +++\n" cRST,
|
||||||
afl->stop_soon == 2 ? "programmatically" : "by the chef");
|
afl->stop_soon == 2 ? "programmatically" : "by the chef");
|
||||||
|
Reference in New Issue
Block a user