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

rmm: Initial fuzzing setup #418

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

Conversation

Skryptonyte
Copy link

(LFX Task 1)

This PR adds the initial fuzzing setup based on libfuzzer-sys along with two harnesses for RMI commands: FEATURES and VERSION.

Two scripts are provided:

  1. ./scripts/fuzz.sh <fuzzer_name> <var_args> - Runs the fuzzer. The script will run the fuzzer natively if the host is aarch64, otherwise it will fall back to QEMU userspace emulator.
  2. ./scripts/fuzz-coverage.sh <fuzzer_name> <duration> - Based on ./scripts/code-coverage.sh, the fuzzer is run for a set duration and an html report is generated after at ./code-coverage/index.html.

@Skryptonyte Skryptonyte marked this pull request as ready for review February 14, 2025 11:41
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