aboutsummaryrefslogtreecommitdiff
path: root/differential-tests/tests
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-03-17 06:24:25 +0000
committeriximeow <me@iximeow.net>2024-03-17 06:24:25 +0000
commit8aa29bd23ff62de807c444cb8a1f9c316c5bf76a (patch)
tree43913de65424e568334b8cffcaa4e06c4f831059 /differential-tests/tests
parent9afd2dfc74b16144712bc5c3ea7583fcb639be9d (diff)
capstone also reports msr for some undefined encodings
Diffstat (limited to 'differential-tests/tests')
-rw-r--r--differential-tests/tests/capstone-differential.rs2
1 files changed, 1 insertions, 1 deletions
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 {