diff options
author | iximeow <me@iximeow.net> | 2021-09-28 19:56:14 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-09-28 19:56:14 -0700 |
commit | 80737e150dbc143e95b2b1c995d087822dda9a0b (patch) | |
tree | c2d17aa280ab2c2f9efde8078194041b14e7b351 | |
parent | 2af9f3d92184f248089a4134d6ef88162f080415 (diff) |
do not publish crates with compilation warnings (bump for 0.1.3 also)0.1.3
-rw-r--r-- | CHANGELOG | 5 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/armv8/a64.rs | 16 |
3 files changed, 14 insertions, 9 deletions
@@ -1,3 +1,6 @@ +## 0.1.3 +* same as 0.1.2, but fixes a few compilation warnings that snuck in too. + ## 0.1.2 * fix some instructions in aarch64 decoding panicking with "unreachable" instead of returning an `Err(DecodeError::Incomplete)`. similarly, some @@ -6,6 +9,8 @@ * fix some instructions in armv7 decoding or display panicking instead of displaying a valid instruction, or returning a decode error. +... subsequently yanked because some compilation warnings ended up in this version. + ## 0.1.1 * fix incorrect `yaxpeax_arch::Arch` impl for `std`-enabled builds (DecodeError did not implement `std::error::Error` in those build environments) @@ -1,7 +1,7 @@ [package] name = "yaxpeax-arm" -version = "0.1.2" +version = "0.1.3" authors = [ "iximeow <me@iximeow.net>" ] license = "0BSD" repository = "http://git.iximeow.net/yaxpeax-arm/" diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs index 4c9da27..453778e 100644 --- a/src/armv8/a64.rs +++ b/src/armv8/a64.rs @@ -1717,10 +1717,10 @@ impl Decoder<ARMv8> for InstDecoder { }, 0b111 => { // extract - let Rd = word & 0x1f; - let Rn = (word >> 5) & 0x1f; + // let Rd = word & 0x1f; + // let Rn = (word >> 5) & 0x1f; let imms = (word >> 10) & 0x3f; - let Rm = (word >> 16) & 0x1f; + // let Rm = (word >> 16) & 0x1f; let No0 = (word >> 21) & 0x3; let sf_op21 = word >> 29; @@ -2005,14 +2005,14 @@ impl Decoder<ARMv8> for InstDecoder { 0b10000 => { // load/store no-allocate pair (offset) // V == 0 - let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); + // let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); // eprintln!("C3.3.7 V==0, opc_L: {}", opc_L); return Err(DecodeError::IncompleteDecoder); }, 0b10100 => { // load/store no-allocate pair (offset) // V == 1 - let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); + // let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); // eprintln!("C3.3.7 V==1, opc_L: {}", opc_L); return Err(DecodeError::IncompleteDecoder); }, @@ -2071,7 +2071,7 @@ impl Decoder<ARMv8> for InstDecoder { 0b10101 => { // load/store register pair (post-indexed) // V == 1 - let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); + // let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); // eprintln!("C3.3.15 V==1, opc_L: {}", opc_L); return Err(DecodeError::IncompleteDecoder); }, @@ -2130,7 +2130,7 @@ impl Decoder<ARMv8> for InstDecoder { 0b10110 => { // load/store register pair (offset) // V == 1 - let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); + // let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); // eprintln!("C3.3.14 V==1, opc_L: {}", opc_L); return Err(DecodeError::IncompleteDecoder); }, @@ -2189,7 +2189,7 @@ impl Decoder<ARMv8> for InstDecoder { 0b10111 => { // load/store register pair (pre-indexed) // V == 1 - let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); + // let opc_L = ((word >> 22) & 1) | ((word >> 29) & 0x6); // eprintln!("C3.3.16 V==1, opc_L: {}", opc_L); return Err(DecodeError::IncompleteDecoder); }, |