mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-27 03:13:43 +03:00
arm: Fix a compile error
The UnexpectedRelocation constructor changed recently
This commit is contained in:
parent
ff80d7e676
commit
e1c04f1b5a
@ -215,7 +215,7 @@ readInstruction mem addr = MM.addrWidthClass (MM.memAddrWidth mem) $ do
|
||||
MM.BSSRegion {} : _ ->
|
||||
ET.throwError $ ARMMemoryError (MM.UnexpectedBSS segRelAddr)
|
||||
MM.RelocationRegion r : _ ->
|
||||
ET.throwError $ ARMMemoryError (MM.UnexpectedRelocation segRelAddr r "Disassembling from relocation")
|
||||
ET.throwError $ ARMMemoryError (MM.UnexpectedRelocation segRelAddr r)
|
||||
MM.ByteRegion bs : _
|
||||
| BS.null bs -> ET.throwError $ ARMMemoryError (MM.AccessViolation segRelAddr)
|
||||
| otherwise -> do
|
||||
|
Loading…
Reference in New Issue
Block a user