Resolved PR comments and added more fuzz targets.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#![no_main]
|
||||
|
||||
use fuzz_helper::{process_input, InputType};
|
||||
use fuzz_helper::{process_ctap_specific_type, InputType};
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
// Fuzz inputs as CTAP2 make credential command parameters encoded in cbor.
|
||||
// For a more generic fuzz target including all CTAP commands, you can use
|
||||
// fuzz_target_process_ctap_command.
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
process_input(data, InputType::CborMakeCredentialParameter);
|
||||
process_ctap_specific_type(data, InputType::CborMakeCredentialParameter);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user