diff options
author | iximeow <me@iximeow.net> | 2024-03-17 06:24:25 +0000 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-03-17 06:24:25 +0000 |
commit | 8aa29bd23ff62de807c444cb8a1f9c316c5bf76a (patch) | |
tree | 43913de65424e568334b8cffcaa4e06c4f831059 | |
parent | 9afd2dfc74b16144712bc5c3ea7583fcb639be9d (diff) |
capstone also reports msr for some undefined encodings
-rw-r--r-- | differential-tests/tests/capstone-differential.rs | 2 |
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 { |