[arm] Add support for Thumb THINT uninterpreted function.

This commit is contained in:
Kevin Quick 2018-03-26 16:04:34 -07:00
parent 0069d3c907
commit 80886bd73d
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21

View File

@ -212,4 +212,8 @@ t32InstructionMatcher (ThumbDis.Instruction opc operands) =
ThumbDis.TSVC -> case operands of
ThumbDis.Imm0_255 imm ThumbDis.:< ThumbDis.Nil ->
Just $ G.finishWithTerminator (MCB.ArchTermStmt (ThumbSyscall $ ThumbDis.Imm0_255 imm))
ThumbDis.THINT -> case operands of
ThumbDis.Imm0_15 imm ThumbDis.:< ThumbDis.Nil ->
Just $ return ()
-- G.finishWithTerminator (MCB.ArchTermStmt (ThumbHint $ ThumbDis.Imm0_15 imm))
_ -> Nothing