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

chore: remove make fuzz and AFL fuzz #4808

Merged
merged 6 commits into from
Oct 8, 2024

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.

Copy link
Contributor

@dougch dougch left a comment

Choose a reason for hiding this comment

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

Once @jmayclin comments are addressed...

- remove CI specific commands
- remove AFL fuzz section
@jouho jouho requested a review from jmayclin October 7, 2024 22:02
@jouho jouho changed the title cleanup: remove make fuzz and AFL fuzz chore: remove make fuzz and AFL fuzz Oct 7, 2024
@jouho jouho enabled auto-merge (squash) October 8, 2024 16:32
@jouho jouho merged commit 1329b07 into aws:main Oct 8, 2024
37 checks passed
@jouho jouho deleted the remove-make-fuzz-and-update-doc branch October 8, 2024 21:08
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.

3 participants