Kuan-Wei Chiu d45cd63583 Fix memory allocation check in aflpp custom mutators
The memory allocation check in afl_custom_fuzz function was incorrect.
The condition was erroneously checking if ptr was non-null, whereas it
should return 0 when ptr is null. Correct the condition to properly
handle memory allocation failures.

Fixes: 32ffa266 ("max_len support")
2024-06-13 00:42:12 +08:00
..
2023-04-04 15:47:53 +02:00
2023-04-04 15:47:53 +02:00

custum mutator: AFL++

this is the AFL++ havoc mutator as a custom mutator module for AFL++.

just type make to build

AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/aflpp/aflpp-mutator.so afl-fuzz ...