AngoraFuzzer / Angora

Angora is a mutation-based fuzzer. The main goal of Angora is to increase branch coverage by solving path constraints without symbolic execution.
Apache License 2.0
919 stars 168 forks source link

Fix for ASAN holding memory in fork loop #114

Closed jbn605 closed 2 years ago

jbn605 commented 2 years ago

I'm currently working with a fuzzer based on Angora and noticed that when fuzzing with a binary that has been sanitized with ASAN the performance of the fuzzer (wrt execution of the instrumented binary) would drop significantly over time. The issue lies with the allocation of the buffers that are used to write to the fuzzer as ASAN holds on to this memory until execution stops. Directly writing the data through the socket fixes this issue.

spinpx commented 2 years ago

@jbn605 Thank you for your PR.