Files
OpenSK/fuzz/fuzz_targets/fuzz_target_process_ctap1.rs
2020-09-29 16:30:41 +00:00

12 lines
347 B
Rust

#![no_main]
use fuzz_helper::{process_ctap_specific_type, InputType};
use libfuzzer_sys::fuzz_target;
// Fuzz inputs as CTAP1 U2F raw messages.
// For a more generic fuzz target including all CTAP commands, you can use
// fuzz_target_process_ctap_command.
fuzz_target!(|data: &[u8]| {
process_ctap_specific_type(data, InputType::Ctap1);
});