Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libfuzzer stub to use clang's fuzz testing functionality #22

Closed
hannob opened this issue Aug 25, 2016 · 3 comments
Closed

Libfuzzer stub to use clang's fuzz testing functionality #22

hannob opened this issue Aug 25, 2016 · 3 comments

Comments

@hannob
Copy link

hannob commented Aug 25, 2016

All the memory safety bugs I reported recently were found with libfuzzer.
I'll attach a stub code here that can be used to test oniguruma with libfuzzer. Maybe you want to include that in the source code. If not it can just stay here in the bugtracker.

I've added some usage instructions as a comment. Feel free to reuse under whatever license you feel suitable.
libfuzzer-onig.zip

@kkos
Copy link
Owner

kkos commented Aug 25, 2016

Thank you very much.
I intend to use it.

@hannob
Copy link
Author

hannob commented Oct 18, 2016

Just FYI, after the fix for #29 I was able to run this on the development branch for a day without any further issues showing up, so it seems quite resistant to fuzzing by now.

@kkos
Copy link
Owner

kkos commented Oct 19, 2016

Thank you for giving me good advice.

@kkos kkos closed this as completed Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants