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

cleanup: remove make fuzz and AFL fuzz #4808

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jouho
Copy link
Contributor

@jouho jouho commented Sep 27, 2024

Resolved issues:

  • The current CI does not use the Make build system or AFL fuzzer for fuzzing. AFL is deprecated and no longer actively supported.
  • The fuzzing usage guide needs updates to reflect recent fuzzing changes.

Description of changes:

  • Removed Make-related fuzzing files/code by searching for references to "fuzz" and reviewing relevant files.
  • Removed AFL fuzzer and relevant files, which is deprecated and not used in CI: AFL GitHub.
  • Updated the usage guide for fuzz tests.

Call-outs:

This PR may not completely remove all Make and AFL fuzzing logic. We will continue to remove remainings as we find them.

Testing:

Verified CI tests pass by running the job against this PR.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Sep 27, 2024
@jouho jouho mentioned this pull request Sep 27, 2024
9 tasks
@jouho jouho marked this pull request as ready for review September 27, 2024 23:52
@jouho jouho requested a review from dougch as a code owner September 27, 2024 23:52
1. Compile with S2N_FUZZ_TEST option enabled
```
cmake . -Bbuild \
-DCMAKE_PREFIX_PATH=/usr/local/$S2N_LIBCRYPTO \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should try and avoid CI-specific paths in public documentation. Also CMake should be able to find the libcrypto automatically.

Suggested change
-DCMAKE_PREFIX_PATH=/usr/local/$S2N_LIBCRYPTO \

AFL is deprecated and was removed in [#4808](https://github.com/aws/s2n-tls/pull/4808)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd vote to just totally remove this section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants