From 8aa29bd23ff62de807c444cb8a1f9c316c5bf76a Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 17 Mar 2024 06:24:25 +0000 Subject: capstone also reports msr for some undefined encodings --- differential-tests/tests/capstone-differential.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'differential-tests') diff --git a/differential-tests/tests/capstone-differential.rs b/differential-tests/tests/capstone-differential.rs index 2137e95..826320a 100644 --- a/differential-tests/tests/capstone-differential.rs +++ b/differential-tests/tests/capstone-differential.rs @@ -370,7 +370,7 @@ fn capstone_differential() { } else { // capstone dedodes the UNDEFINED encodings in C5.1.2 as "mrs", yax returns // a decode error. - if cs_text.starts_with("mrs ") { + if cs_text.starts_with("mrs ") || cs_text.starts_with("msr ") { stats.yax_reject.fetch_add(1, Ordering::SeqCst); continue; } else { -- cgit v1.1