trailofbits / ruzzy

A coverage-guided fuzzer for pure Ruby code and Ruby C extensions
GNU Affero General Public License v3.0
78 stars 5 forks source link

Add support for fuzzing pure Ruby code on Mac #11

Open mschwager opened 7 months ago

mschwager commented 7 months ago

Adding support for fuzzing pure Ruby code on Macs shouldn't be too heavy of a lift. Atheris supports it. Fuzzing Ruby C extensions on Mac may theoretically be possible, but it's not clear to me how we'd accomplish that. Atheris does not support this type of fuzzing.

So, perhaps we can add support for fuzzing Ruby C extensions on Mac someday, but for now let's start with pure Ruby code and go from there. Here's a rough implementation plan:

WARNING: Failed to find function "__sanitizer_acquire_crash_state".
WARNING: Failed to find function "__sanitizer_print_stack_trace".
WARNING: Failed to find function "__sanitizer_set_death_callback".

All in all, this can wait until some kind of V2 release after we make Ruzzy public.