mxmssh / manul

Manul is a coverage-guided parallel fuzzer for open-source and blackbox binaries on Windows, Linux and MacOS
Apache License 2.0
337 stars 66 forks source link

Using AFL and Radamsa #34

Open killyp opened 5 years ago

killyp commented 5 years ago

Set mutator weights in manul.config to: mutator_weights=afl:7,radamsa:3

And get this error during fuzzing.

[WARNING] Fuzzer 1 failed to generate new input from in/test due to some problem with radamsa. Error code 1. Return msg b'The process cannot access the file because it is being used by another process.\r\n' [ERROR] Fuzzer 1 failed to generate and save new input on disk

Have not debugged. Any ideas?

mxmssh commented 5 years ago

Hm, did you install radamsa?

killyp commented 5 years ago

I have the radamsa.exe in the manul directory. Did I need to do anything else?

killyp commented 5 years ago

Running with weight: mutator_weights=radamsa:10 works. So is probably a conflict in the handover of the in/test file from afl to radamsa or vice versa.

mxmssh commented 5 years ago

Hm, strange. Your config should work fine. Could you run with --debug flag and mutator_weights=afl:7,radamsa:3?

aguerriero1998 commented 5 years ago

I was experiencing a similar issue. I had certain test files which started with either a " or a ', these files seemed to because the subprocess command to crash. Renaming these files seemed to fix the issue.