-
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Make fuzzers/tinyinst_simple support Linux (#1316) Fix a documentation error for `MmapShMemProvider`. * Support shmem for `fuzzers/tinyinst_simple` on Linux. Format code. * Fix CI to install cxxbridge-cmd. * Add `CARGO_TARGET_DIR` in makefile to fix CI.
- Loading branch information
Showing
6 changed files
with
77 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# Tinyinst example | ||
This is a fuzzer example to show how libafl_tinyinst works | ||
This is a fuzzer example to show how libafl_tinyinst works. | ||
|
||
## How to build | ||
1. Build the harness with `cl test\test.cpp -o test.exe` | ||
2. Build the fuzzer with `cargo build --release`. The fuzzer is `target\release\tinyinst_simple.exe` | ||
1. Install cxxbridge-cmd with `cargo install cxxbridge-cmd` | ||
2. Build the harness with `cl test\test.cpp -o test.exe` | ||
3. Build the fuzzer with `cargo build --release`. The fuzzer is `target\release\tinyinst_simple.exe` | ||
|
||
## Run with cargo-make | ||
Or, you can simple run it using cargo-make | ||
1. Open up developer powershell so that you have access to cl (Windows Default Compiler) | ||
2. Run `cargo make run` to run the fuzzer | ||
Or, you can simply run it using cargo-make | ||
1. If on Windows, open up a developer powershell so that you have access to cl (Windows Default Compiler) | ||
2. Run `cargo make run` to run the fuzzer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters