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

Performance manul vs afl++ #63

Open mxmssh opened 4 years ago

mxmssh commented 4 years ago

Manul in forkmode can reach ~450-500 exec/sec on Ubuntu 16.04 AFL++ in forkmode can reach ~2500 exec/sec on the same machine.

We need to understand why it is happening. Is it a general python issue or some inefficiency in Manul code?

mxmssh commented 4 years ago

It looks like the main problem is that Python pipes work slower than C implementation. The following function is the main source of performance problems: https://github.com/mxmssh/manul/blob/f7aef52eae63f3c6865e38d66f0c31c0182a11e2/manul.py#L92