Writing a custom post processor #944
Comments
yes the post process example is outdated. 0 is an illegal return. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I also have a question regarding the custom post processor.
In the example https://github.com/AFLplusplus/AFLplusplus/blob/stable/custom_mutators/examples/post_library_gif.so.c#L48 it is mentioned that if the post process function returns 0 the input is not sent to the target program and fuzzing is continued. When I tried to do that same the fuzzer throws the error:
Custom_post_process failed (ret: 0)
I guess that example is outdated and the latest one is https://github.com/AFLplusplus/AFLplusplus/blob/stable/custom_mutators/examples/example.c.
Also, I found that https://github.com/AFLplusplus/AFLplusplus/blob/stable/src/afl-fuzz-run.c#L189 expects the return value to be 0 only when there is an error.
Is there any other way I could make the post processor skip an unwanted test case and continue fuzzing?
The text was updated successfully, but these errors were encountered: