mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-24 00:42:28 +03:00
let tests compile again
This commit is contained in:
parent
3542977fc7
commit
851168f9ad
@ -48,10 +48,10 @@ withMemory _ e k =
|
||||
Left err -> C.throwM (MemoryLoadError err)
|
||||
Right (_sim, mem) -> k mem
|
||||
where
|
||||
loadCfg = MM.LoadOptions { MM.loadStyleOverride = Just MM.LoadBySegment
|
||||
, MM.includeBSS = False
|
||||
, MM.loadRegionIndex = Just 0
|
||||
}
|
||||
loadCfg = MM.defaultLoadOptions
|
||||
{ MM.loadStyleOverride = Just MM.LoadBySegment
|
||||
, MM.loadRegionIndex = Just 0
|
||||
}
|
||||
|
||||
data ElfException = MemoryLoadError String
|
||||
deriving (Typeable, Show)
|
||||
|
Loading…
Reference in New Issue
Block a user