diff options
author | iximeow <me@iximeow.net> | 2025-04-13 19:34:39 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2025-04-13 19:34:39 -0700 |
commit | 6f10ec12b4c81e4d040b933b1e3ee01da5ac9a0c (patch) | |
tree | d7e94de37b909b2a6ca29085d3e3c11902df1c30 /tests | |
parent | 2a7d0f4dd1b7ec13fa402cf7c18dc9f62e8c4b55 (diff) |
fuzz cases: only 64 system registers, display should never panic
Diffstat (limited to 'tests')
-rw-r--r-- | tests/from_brain.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/from_brain.rs b/tests/from_brain.rs index a72f561..9c33dbf 100644 --- a/tests/from_brain.rs +++ b/tests/from_brain.rs @@ -2460,3 +2460,11 @@ fn inst_1111() { test_display(&0b1111_1101000_00100_11_1_00011_001_00110u32.to_le_bytes(), "{ if (p1.new) r7:6 = contains(r4, r3) }"); } + +#[test] +fn no_panic() { + test_invalid( + &[253, 67, 36, 65, 68, 143, 143, 143, 143, 143, 143, 143, 3, 0, 2, 0, 143], + DecodeError::InvalidOpcode + ); +} |