From 2c332661b5ccf116a468e1e23711017d77c1531a Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 17 Dec 2021 10:45:31 -0800 Subject: do not panic on negative compressed displacements, i mean it!! --- test/protected_mode/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'test/protected_mode') diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index 70dfb78..1b0ca59 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -3082,4 +3082,5 @@ fn from_llvm() { fn from_reports() { // negative compressed evex displacements should not overflow and panic test_display(&[0x62, 0xf2, 0x6d, 0xac, 0x00, 0x59, 0xa7], "vpshufb ymm3{k4}{z}, ymm2, ymmword [ecx - 0xb20]"); + test_display(&[0x62, 0xf2, 0xfd, 0x0f, 0x8a, 0x62, 0xf2], "vcompresspd xmmword [edx - 0x70]{k7}, xmm4"); } -- cgit v1.1