mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-01 00:22:24 +03:00
Update classifyfailure
This commit is contained in:
parent
fde2db4726
commit
953e607e0e
@ -760,7 +760,7 @@ fetchAndExecute' ctx b regs s' = do
|
|||||||
pure ParsedBlock { pblockLabel = lbl_idx
|
pure ParsedBlock { pblockLabel = lbl_idx
|
||||||
, pblockStmts = blockStmts b
|
, pblockStmts = blockStmts b
|
||||||
, pblockState = regs'
|
, pblockState = regs'
|
||||||
, pblockTerm = ClassifyFailure "Could not classify block type."
|
, pblockTerm = ClassifyFailure s'
|
||||||
}
|
}
|
||||||
|
|
||||||
type ParseConstraints arch = ( RegisterInfo (ArchReg arch)
|
type ParseConstraints arch = ( RegisterInfo (ArchReg arch)
|
||||||
|
@ -160,7 +160,7 @@ data ParsedTermStmt arch ids
|
|||||||
-- ^ A system call with the registers prior to call and given return address.
|
-- ^ A system call with the registers prior to call and given return address.
|
||||||
| ParsedTranslateError !Text
|
| ParsedTranslateError !Text
|
||||||
-- ^ An error occured in translating the block
|
-- ^ An error occured in translating the block
|
||||||
| ClassifyFailure !String
|
| ClassifyFailure !(RegState (ArchReg arch) (Value arch ids))
|
||||||
-- ^ The classifier failed to identity the block.
|
-- ^ The classifier failed to identity the block.
|
||||||
|
|
||||||
deriving instance
|
deriving instance
|
||||||
|
Loading…
Reference in New Issue
Block a user