mirror of
https://github.com/str4d/rage.git
synced 2025-04-04 11:27:43 +03:00
Fuzz Header::read and Header::write
This commit is contained in:
parent
a5fda26993
commit
e55c05c97c
3 changed files with 21 additions and 0 deletions
|
@ -18,6 +18,10 @@ git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
|
|||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[[bin]]
|
||||
name = "header"
|
||||
path = "fuzz_targets/header.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "trial_decrypt"
|
||||
path = "fuzz_targets/trial_decrypt.rs"
|
||||
|
|
6
fuzz/fuzz_targets/header.rs
Normal file
6
fuzz/fuzz_targets/header.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
#![no_main]
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
age::fuzz_header(data);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue