From 5a1731a2584222cf3e2d66685f96f8dc43cd3542 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 13 Apr 2025 19:40:12 -0700 Subject: another fuzz victory! --- tests/from_brain.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/from_brain.rs b/tests/from_brain.rs index 9c33dbf..0c9be88 100644 --- a/tests/from_brain.rs +++ b/tests/from_brain.rs @@ -2468,3 +2468,11 @@ fn no_panic() { DecodeError::InvalidOpcode ); } +#[test] +fn display() { + // if there is only an extender and no instruction, return an error. + test_invalid( + &[252, 205, 99, 0], + DecodeError::InvalidOpcode + ); +} -- cgit v1.1