Skip to content

afl_custom_fuzz buffer explanation #2213

Answered by vanhauser-thc
matteoldani asked this question in Q&A
Discussion options

You must be logged in to vote

out_buf is what you allocate in your custom mutator and must free if you always create a new one. but you can just allocate it once (or a static buffer) and reuse it every time.
buf is the buffer that has the testcase to mutate.
add_buf containbs a second testcase (in case you want to splice parts of a random testcase in). usually you can ignore this one.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vanhauser-thc
Comment options

Answer selected by matteoldani
@matteoldani
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants