xref: /aosp_15_r20/external/crosvm/fuzz/fuzz_targets/usb_descriptor_fuzzer.rs (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1 // Copyright 2019 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #![cfg(not(test))]
6 #![no_main]
7 
8 use crosvm_fuzz::fuzz_target;
9 use usb_util::parse_usbfs_descriptors;
10 
11 fuzz_target!(|data| {
12     let _ = parse_usbfs_descriptors(data);
13 });
14