Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,10 @@ doc = false
name = "fuzz_tbor_part_final"
path = "fuzz_targets/ddi/tbor/fuzz_tbor_part_final.rs"
test = false

[[bin]]
bench = false
doc = false
name = "fuzz_tbor_part_info"
path = "fuzz_targets/ddi/tbor/fuzz_tbor_part_info.rs"
test = false
16 changes: 16 additions & 0 deletions fuzz/fuzz_targets/ddi/tbor/fuzz_tbor_part_info.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#![no_main]

#[path = "../../common.rs"]
mod common;

use azihsm_ddi_tbor_types::TborPartInfoReq;
use libfuzzer_sys::fuzz_target;

fuzz_target!(|_input: &[u8]| {
let dev = common::open_emu_dev();
let req = TborPartInfoReq;
common::fuzz_exec_op_tbor(&dev, &req);
});
Comment on lines +9 to +16
Loading