r/ExploitDev • u/new_account_19999 • Nov 02 '24
fuzzing at scale?
I started playing with fuzzing recently specifically with AFL++. I've found it fairly easy to get setup where I define some valid/invalid inputs, create something to parse the inputs, and feed them to the function I want to fuzz. Essentially creating a CLI type wrapper around the desired function.
Now this is nice and all but I've been thinking of this process similar to unit testing in a way where you would typically develop your unit tests side by side with your source code. Is this a correct way to think about it? I'm also relating it to cases where if your code base has no unit tests, implementing them now becomes a huge hassle. Is this the same with fuzzing?
View all comments
Show parent comment
1
u/g0ku704 Nov 12 '24
Thanks for the update. Yes, I noticed now, they started implementing GCC feature https://github.com/google/fuzztest/pull/1393 It would be so useful for some projects that only support GCC, instead of writing a new main function for AFL++ harness.