File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1313 fuzzing :
1414 uses : ./.github/workflows/dep_fuzzing.yml
1515 with :
16- targets : ' ["host_print ", "guest_call ", "host_call "]' # Pass as a JSON array
16+ targets : ' ["fuzz_host_print ", "fuzz_guest_call ", "fuzz_host_call "]' # Pass as a JSON array
1717 max_total_time : 18000 # 5 hours in seconds
1818 secrets : inherit
Original file line number Diff line number Diff line change @@ -198,3 +198,10 @@ fuzz fuzz-target:
198198# Fuzzes the given target. Stops after `max_time` seconds
199199fuzz-timed fuzz -target max_time :
200200 cargo + nightly fuzz run {{ fuzz-target }} --release -- -max_total_time={{ max_time }}
201+
202+ # Builds fuzzers for submission to expernal fuzzing services
203+ build-fuzzers : (build-fuzzer " fuzz_guest_call" ) (build-fuzzer " fuzz_host_call" ) (build-fuzzer " fuzz_host_print" )
204+
205+ # Builds the given fuzzer
206+ build-fuzzer fuzz -target :
207+ cargo + nightly fuzz build {{ fuzz-target }} --release -s none
Original file line number Diff line number Diff line change @@ -13,21 +13,21 @@ hyperlight-testing = { workspace = true }
1313hyperlight-host = { workspace = true , default-features = true , features = [" fuzzing" ]}
1414
1515[[bin ]]
16- name = " host_print "
16+ name = " fuzz_host_print "
1717path = " fuzz_targets/host_print.rs"
1818test = false
1919doc = false
2020bench = false
2121
2222[[bin ]]
23- name = " guest_call "
23+ name = " fuzz_guest_call "
2424path = " fuzz_targets/guest_call.rs"
2525test = false
2626doc = false
2727bench = false
2828
2929[[bin ]]
30- name = " host_call "
30+ name = " fuzz_host_call "
3131path = " fuzz_targets/host_call.rs"
3232test = false
3333doc = false
You can’t perform that action at this time.
0 commit comments