mirror of
https://github.com/GaloisInc/macaw.git
synced 2025-01-04 04:12:02 +03:00
Improve failure message.
This commit is contained in:
parent
da2a29b595
commit
9094d1bd91
@ -74,7 +74,11 @@ doGetGlobal ::
|
||||
)
|
||||
doGetGlobal st mvar globs addr =
|
||||
case Map.lookup (M.addrBase addr) globs of
|
||||
Nothing -> fail ("[doGetGlobal] Undefined global region: " ++ show addr)
|
||||
Nothing -> fail $ unlines
|
||||
[ "[doGetGlobal] Undefined global region:"
|
||||
, "*** Region: " ++ show (M.addrBase addr)
|
||||
, "*** Address: " ++ show addr
|
||||
]
|
||||
Just region ->
|
||||
do mem <- getMem st mvar
|
||||
let sym = stateSymInterface st
|
||||
|
Loading…
Reference in New Issue
Block a user