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 13
13
fuzzing :
14
14
uses : ./.github/workflows/dep_fuzzing.yml
15
15
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
17
17
max_total_time : 18000 # 5 hours in seconds
18
18
secrets : inherit
Original file line number Diff line number Diff line change @@ -198,3 +198,10 @@ fuzz fuzz-target:
198
198
# Fuzzes the given target. Stops after `max_time` seconds
199
199
fuzz-timed fuzz -target max_time :
200
200
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 }
13
13
hyperlight-host = { workspace = true , default-features = true , features = [" fuzzing" ]}
14
14
15
15
[[bin ]]
16
- name = " host_print "
16
+ name = " fuzz_host_print "
17
17
path = " fuzz_targets/host_print.rs"
18
18
test = false
19
19
doc = false
20
20
bench = false
21
21
22
22
[[bin ]]
23
- name = " guest_call "
23
+ name = " fuzz_guest_call "
24
24
path = " fuzz_targets/guest_call.rs"
25
25
test = false
26
26
doc = false
27
27
bench = false
28
28
29
29
[[bin ]]
30
- name = " host_call "
30
+ name = " fuzz_host_call "
31
31
path = " fuzz_targets/host_call.rs"
32
32
test = false
33
33
doc = false
You can’t perform that action at this time.
0 commit comments