mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-23 08:27:24 +03:00
[arm] Added ExtractValue for Thumb AddrModeIs4 operand.
This commit is contained in:
parent
c50f01efef
commit
b0205af9ff
@ -100,6 +100,9 @@ instance ExtractValue ARM.ARM T32Operand.Reglist (BVType 32) where
|
||||
instance ExtractValue ARM.ARM T32Operand.TImm01020S4 (BVType 8) where
|
||||
extractValue = return . MC.BVValue NR.knownNat . toInteger . T32Operand.tImm01020S4ToBits
|
||||
|
||||
instance ExtractValue ARM.ARM T32Operand.AddrModeIs4 (BVType 32) where
|
||||
extractValue = return . MC.BVValue NR.knownNat . toInteger . T32Operand.addrModeIs4ToBits
|
||||
|
||||
instance ExtractValue ARM.ARM T32Operand.LowGPR (BVType 32) where
|
||||
extractValue r = G.getRegValue (Reg.ARM_GP $ T32Operand.unLowGPR r)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user