[arm] Add support for the Thumb Reglist operand.

This commit is contained in:
Kevin Quick 2018-03-10 10:05:52 -08:00
parent 0c67eddda8
commit 5e72398ef2
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21

View File

@ -94,6 +94,9 @@ instance ExtractValue ARM.ARM (Maybe T32Operand.GPR) (BVType 32) where
instance ExtractValue ARM.ARM T32Operand.Opcode (BVType 3) where
extractValue = return . MC.BVValue NR.knownNat . toInteger . T32Operand.opcodeToBits
instance ExtractValue ARM.ARM T32Operand.Reglist (BVType 32) where
extractValue = return . MC.BVValue NR.knownNat . toInteger . T32Operand.regListToBits
instance ExtractValue ARM.ARM T32Operand.TImm01020S4 (BVType 8) where
extractValue = return . MC.BVValue NR.knownNat . toInteger . T32Operand.tImm01020S4ToBits