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

Update README.md #295

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,21 @@ Fuzzing with `test-fuzz` is essentially three steps:\*
2. **Generate a corpus** by running `cargo test`:

```
$ cargo test
cargo test
```

3. **Fuzz your target** by running [`cargo test-fuzz`](#cargo-test-fuzz-command):
```
$ cargo test-fuzz foo
cargo test-fuzz foo
```

\* Some additional steps may be necessary following a reboot. AFL requires the following commands to be run as root:

- Linux
\* An additional, preliminary step may be necessary following a reboot:

```sh
echo core >/proc/sys/kernel/core_pattern
cd /sys/devices/system/cpu
echo performance | tee cpu*/cpufreq/scaling_governor
```
```sh
cargo afl system-config
```

- OSX
```sh
SL=/System/Library; PL=com.apple.ReportCrash
launchctl unload -w ${SL}/LaunchAgents/${PL}.plist
sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist
```
Note that the above command runs `sudo` internally. Hence, you may be prompted to enter your password.

## Components

Expand Down
1 change: 1 addition & 0 deletions test-fuzz/README.md