summaryrefslogtreecommitdiff
path: root/src/fuzzing.rs
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2021-08-17 11:01:06 +0000
committerAndrew Walbran <qwandor@google.com>2021-08-17 11:29:49 +0000
commit658aeeec4911704d0d88e2e37471db56904fc6d8 (patch)
tree7d93335ae26074aedbcb8f5ef80d0e0dce2ec772 /src/fuzzing.rs
parent99069084d493c67942db4fe03f22310dc59ae596 (diff)
downloadp9-android-s-beta-5.tar.gz
p9 is now part of the crosvm repository. Test: m crosvm Change-Id: I3c46b745bd3f216df8403385027699a94f3762a4
Diffstat (limited to 'src/fuzzing.rs')
-rw-r--r--src/fuzzing.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/fuzzing.rs b/src/fuzzing.rs
deleted file mode 100644
index 0ba8e23..0000000
--- a/src/fuzzing.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2018 The Chromium OS Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-use std::io::Cursor;
-
-use crate::protocol::{Tframe, WireFormat};
-
-pub fn tframe_decode(bytes: &[u8]) {
- let mut cursor = Cursor::new(bytes);
-
- while let Ok(_) = Tframe::decode(&mut cursor) {}
-}