forked from NordSecurity/libtelio
-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (64 loc) · 2.85 KB
/
fuzzing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Fuzzing
on: [workflow_call]
permissions: {}
jobs:
telio-proto-fuzzing:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
toolchain: nightly-2024-04-23
override: true
- run: cargo install cargo-fuzz --locked --version 0.12.0
- name: fuzz telio proto
working-directory: crates/telio-proto
run: cargo fuzz run packet -- -max_total_time=180
telio-crypto-fuzzing:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
toolchain: nightly-2024-04-23
override: true
- run: cargo install cargo-fuzz --locked --version 0.12.0
- name: fuzz telio crypto decrypt_request
working-directory: crates/telio-crypto
run: cargo fuzz run decrypt_request -- -max_total_time=180
- name: fuzz telio crypto decrypt_request_inner
working-directory: crates/telio-crypto
run: cargo fuzz run decrypt_request_inner -- -max_total_time=180
- name: fuzz telio crypto decrypt_response
working-directory: crates/telio-crypto
run: cargo fuzz run decrypt_response -- -max_total_time=180
telio-pq-fuzzing:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
toolchain: nightly-2024-04-23
override: true
- run: cargo install cargo-fuzz --locked --version 0.12.0
- name: fuzz telio pq parse_get_packet
working-directory: crates/telio-pq
run: cargo fuzz run parse_get_packet -- -max_total_time=180
- name: fuzz telio pq parse_response_payload
working-directory: crates/telio-pq
run: cargo fuzz run parse_response_payload -- -max_total_time=180
telio-starcast-fuzzing:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
toolchain: nightly-2024-04-23
override: true
- run: cargo install cargo-fuzz --locked --version 0.12.0
- name: fuzz telio starcast nat translate_incoming
working-directory: crates/telio-starcast
run: cargo fuzz run translate_incoming -- -max_total_time=180
- name: fuzz telio pq parse_response_payload
working-directory: crates/telio-starcast
run: cargo fuzz run translate_outgoing -- -max_total_time=180