[arm] Add value extraction for SoRegReg operand.

This commit is contained in:
Kevin Quick 2018-02-20 08:52:02 -08:00
parent 2e6245b378
commit 24f1f65cc6
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21

View File

@ -50,6 +50,9 @@ instance ExtractValue ARM.ARM BranchExecuteTarget (BVType 32) where
instance ExtractValue ARM.ARM SoRegImm (BVType 32) where
extractValue = return . MC.BVValue NR.knownNat . toInteger . soRegImmToBits
instance ExtractValue ARM.ARM SoRegReg (BVType 32) where
extractValue = return . MC.BVValue NR.knownNat . toInteger . soRegRegToBits
-- instance ExtractValue arch AddrModeImm12 (BVType 12) where