Gunnar

nordisk/heimdall

fuzz/fuzz_targets/pinned_key_text.rs

// SPDX-License-Identifier: AGPL-3.0-only
//! Heimdall is a defensive sandbox. Fuzz the pinned boot-key record parser: never panic, and an accepted
//! record round-trips and names a usable, matching key.
#![no_main]
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    heimdall_core::fuzz_api::pinned_key_text(data);
});