File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
fuzzing :
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ target :
15
+ - fuzz_amf0_body
16
+ - fuzz_amf0_element_array
17
+ - fuzz_amf0_header
18
+ - fuzz_amf3_body
19
+ - fuzz_amf3_int_signed
20
+ - fuzz_amf3_int_unsigned
21
+ - fuzz_amf3_string
12
22
steps :
13
23
- uses : actions/checkout@v4
14
24
@@ -22,10 +32,10 @@ jobs:
22
32
23
33
- name : Run Fuzzing
24
34
run : |
25
- cargo fuzz run fuzz_amf0_body -- -max_total_time=180
35
+ cargo fuzz run ${{ matrix.target }} ${{ contains(matrix.target, 'amf3') && '--features amf3' || ''}} -- -max_total_time=180
26
36
27
37
- uses : actions/upload-artifact@v4
28
38
if : failure()
29
39
with :
30
- name : fuzz-failures
40
+ name : ${{ matrix.target }}
31
41
path : fuzz/artifacts/
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ cargo-fuzz = true
13
13
libfuzzer-sys = " 0.4.7"
14
14
flash-lso = { path = " ../flash-lso" , default-features = false }
15
15
16
+ [features ]
17
+ amf3 = [" flash-lso/amf3" ]
18
+
16
19
# Prevent this from interfering with workspaces
17
20
[workspace ]
18
21
members = [" ." ]
You can’t perform that action at this time.
0 commit comments