mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-28 01:35:33 +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
|
||||
, pblockStmts = blockStmts b
|
||||
, pblockState = regs'
|
||||
, pblockTerm = ClassifyFailure "Could not classify block type."
|
||||
, pblockTerm = ClassifyFailure s'
|
||||
}
|
||||
|
||||
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.
|
||||
| ParsedTranslateError !Text
|
||||
-- ^ An error occured in translating the block
|
||||
| ClassifyFailure !String
|
||||
| ClassifyFailure !(RegState (ArchReg arch) (Value arch ids))
|
||||
-- ^ The classifier failed to identity the block.
|
||||
|
||||
deriving instance
|
||||
|
Loading…
Reference in New Issue
Block a user