Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Capture required args and make it match cli
Browse files Browse the repository at this point in the history
  • Loading branch information
tevoinea committed Aug 17, 2023
1 parent 98e986e commit 947d03a
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,27 @@

# 2. Install llvm and export LLVM_SYMBOLIZER_PATH like we do in setup.sh

required_args: &required_args
target_exe: "REPLACE_ME" # The path to your target
inputs: &inputs "REPLACE_ME" # A folder containining your inputs
crashes: &crashes "REPLACE_ME" # The folder where you want the crashing inputs to be output
crashdumps: "REPLACE_ME" # The folder where you want the crash dumps to be output
coverage: "REPLACE_ME" # The folder where you want the code coverage to be output

target_args: &target_args
<<: *required_args
target_env: {}
target_exe: "C:\\temp\\onefuzz\\integration\\windows-libfuzzer\\fuzz.exe"
target_options: []

inputs: &inputs "C:\\temp\\onefuzz\\integration\\windows-libfuzzer\\seeds"

tasks:
- type: LibFuzzer
<<: *target_args
inputs: *inputs
crashes: &crash "./crashes"
readonly_inputs: []
check_fuzzer_help: true

- type: "Report"
- type: "LibfuzzerCrashReport"
<<: *target_args
input_queue: *crash
crashes: *crash
reports: "./reports"
unique_reports: "./unique_reports"
no_repro: "./no_repro"
input_queue: *crashes
check_fuzzer_help: true

- type: "Coverage"
Expand All @@ -35,4 +34,3 @@ tasks:
- "{input}"
input_queue: *inputs
readonly_inputs: [*inputs]
coverage: "./coverage"

0 comments on commit 947d03a

Please sign in to comment.