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

Fuzzing improvements #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fuzzing improvements #208

wants to merge 1 commit into from

Conversation

arcz
Copy link

@arcz arcz commented Dec 29, 2022

This commit consists of fuzzing improvements as part of Trail of Bits audit that we want to contribute.

Summary of changes:

  • harnesses moved from oss-fuzz to this repository
  • fixed the harnesses so they build with the current code
  • expanded coverage of the existing harnesses
  • added two new harnesses: fuzz_mss and fuzz_parse_argv
  • changed OpenVPN code to use the FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION macro instead of ad-hoc patching as recommended by the libFuzzer documentation
  • added a simple python script to run fuzzing straight from OpenVPN repo and to generate coverage reports

After integrating those changes we recommend doing the following next steps:

  • integrate building harnesses into CI to ensure they don't break with OpenVPN code changes
  • update the OpenVPN project in oss-fuzz to use the harnesses from OpenVPN repository

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

Successfully merging this pull request may close these issues.

1 participant