CryptoLib icon indicating copy to clipboard operation
CryptoLib copied to clipboard

Fuzz Testing

Open Donnie-Ice opened this issue 1 year ago • 5 comments

Explore options for fuzzing

Donnie-Ice avatar Dec 16 '24 01:12 Donnie-Ice

AFL++

Donnie-Ice avatar Dec 16 '24 13:12 Donnie-Ice

@mirkobitetto Here's the issue we had for adding fuzz testing. Thought I would let you know incase you still wanted to share it.

Donnie-Ice avatar Mar 24 '25 20:03 Donnie-Ice

Thanks for the update! I sent you and @jlucas9 an email about a week ago with all the details of my implementation. Would you like me to post those details here as well?

mirkobitetto avatar Mar 24 '25 21:03 mirkobitetto

@mirkobitetto Yes please, if you don't mind. I don't seem to have the email.

Donnie-Ice avatar Mar 25 '25 21:03 Donnie-Ice

@Donnie-Ice

I’ve just opened a PR that adds native fuzz testing support for CryptoLib, as discussed in this issue.

It includes a harness, multi-core AFL++ integration, corpus generation scripts, and CMake support. The setup can be extended further for CI integration or other targets.

Let me know if you'd like me to tweak anything!

See PR: #442

mirkobitetto avatar Mar 26 '25 14:03 mirkobitetto