occia / fuzzdrivergpt

A GPT-Based Fuzz Driver Generator
Other
45 stars 0 forks source link

Fuzzing Engine #1

Open Vincent-Aboagye opened 2 days ago

Vincent-Aboagye commented 2 days ago

I am working on my thesis. I want to use this tool to generate fuzz drivers. Is it possible to use AFL++ as the fuzzing engine?

I am very new, so I would appreciate it if you could guide me on how to do that. Thank you.

occia commented 1 day ago

It is possible to use AFL++ as the fuzzing engine but it requires you to first have some understanding about oss-fuzz workflow and do certain modifications to this project.

oss-fuzz image supports afl++. You can set "FUZZING_ENGINE=afl" and then build the oss-fuzz project image. In this case, an afl wrapper (provides the main function which eventually calls the LLVMFuzzerTestOneInput) will be included during the compilation. The final output binary can be directly fuzzed using afl.

My suggestion here is to first try the afl fuzzing workflow using oss-fuzz image (libfuzzer workflow doc) to understand the differences between libfuzzer workflow, and then upgrade the corresponding parts such as image, build cmds, etc.

Vincent-Aboagye commented 1 day ago

Thanks for the quick response. I will check the links sent. However, I will keep you in the loop of what happens.