mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
fix(svc): rdpdr channel fuzzing harness and associated issues (#408)
This commit is contained in:
parent
e92d8c3e17
commit
c4193371bd
10 changed files with 41 additions and 7 deletions
1
fuzz/Cargo.lock
generated
1
fuzz/Cargo.lock
generated
|
@ -321,6 +321,7 @@ dependencies = [
|
|||
"ironrdp-graphics",
|
||||
"ironrdp-pdu",
|
||||
"ironrdp-rdpdr",
|
||||
"ironrdp-svc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -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
|
||||
|
|
7
fuzz/fuzz_targets/channel_processing.rs
Normal file
7
fuzz/fuzz_targets/channel_processing.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
#![no_main]
|
||||
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
ironrdp_fuzzing::oracles::channel_process(data);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue