fix(svc): rdpdr channel fuzzing harness and associated issues (#408)

This commit is contained in:
Norbert Szetei 2024-03-11 11:28:27 +01:00 committed by GitHub
parent e92d8c3e17
commit c4193371bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 41 additions and 7 deletions

1
fuzz/Cargo.lock generated
View file

@ -321,6 +321,7 @@ dependencies = [
"ironrdp-graphics",
"ironrdp-pdu",
"ironrdp-rdpdr",
"ironrdp-svc",
]
[[package]]

View file

@ -40,3 +40,10 @@ name = "cliprdr_format"
path = "fuzz_targets/cliprdr_format.rs"
test = false
doc = false
[[bin]]
name = "channel_processing"
path = "fuzz_targets/channel_processing.rs"
test = false
doc = false
bench = false

View file

@ -0,0 +1,7 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &[u8]| {
ironrdp_fuzzing::oracles::channel_process(data);
});