Added more fuzz targets
This commit is contained in:
9
fuzz/fuzz_targets/fuzz_target_process_ctap1.rs
Normal file
9
fuzz/fuzz_targets/fuzz_target_process_ctap1.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
#![no_main]
|
||||
|
||||
use fuzz_helper::{process_input, InputType};
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
// Fuzz inputs as CTAP1 U2F raw message.
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
process_input(data, InputType::Ctap1);
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
#![no_main]
|
||||
|
||||
use fuzz_helper::{process_input, InputType};
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
// Fuzz inputs as CTAP2 make credential command parameters encoded in cbor.
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
process_input(data, InputType::CborMakeCredentialParameter);
|
||||
});
|
||||
Reference in New Issue
Block a user