From ce99ad8e8e5260f3a8bac896e14faf54f0df6c58 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 28 Sep 2021 19:48:39 -0700 Subject: fix various armv8 and armv8 panics that should be Err. in fact the decoder should _never_ panic. included here are tests that cover the entire 32-bit instruction space and ensure that decoding and display do not panic. these tests run uncomfortably slowly (1168s to decode the 4b "instruction" sequences on my desktop), but verify that panics are no longer an issue. --- CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 14a97e7..33b9c48 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +## 0.1.2 +* fix some instructions in aarch64 decoding panicking with "unreachable" + instead of returning an `Err(DecodeError::Incomplete)`. + ## 0.1.1 * fix incorrect `yaxpeax_arch::Arch` impl for `std`-enabled builds (DecodeError did not implement `std::error::Error` in those build environments) -- cgit v1.1