Am 14.02.2017 um 01:25 schrieb Michal Zalewski:
>> is there a way to kill afl and restart it to continue at the exact same
>> point where it was stopped?
>
> Yep. Edit the command line and replace -i <starting_dir> with -i-
> while keeping the output directory (-o) the same. That should do the
> trick.
Hi,
AFAIK, this will use the existing queue of input files but will start
testing these from the beginning. In other words, already tested files
will be tested again.
Is there a way to stop afl-fuzz, e.g. for rebooting the machine, and
then go on from the same state, with the same pending tests?
Best Regards,
Robert
>
>> When I just start it again, it says "Deleting old session data..." and
>> starts from scratch.
>
> FWIW, AFL refuses to do this and suggests -i- when you have a session
> that ran for a bit longer. It only deletes short-lived sessions, and
> that's to make it easier to correct typos and the like without having
> to run 'rm -rf'.
>
> /mz
>
--
Robert Löhning
Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
robert....@qt.io
+49 30 63 92 3255
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B