Haskell bindings update (#767)
* haskell: Properly handle invalid memory access * haskell: source cleanup * haskell: added support for batch reg read/write
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
a40e5aae09
commit
c090f198ad
@ -98,7 +98,7 @@ hookCode :: CodeHook ()
|
||||
hookCode uc addr size _ = do
|
||||
runEmulator $ do
|
||||
emuPutStrLn $ ">>> Tracing instruction at 0x" ++ showHex addr ++
|
||||
", instruction size = 0x" ++ (maybe "0" showHex size)
|
||||
", instruction size = 0x" ++ maybe "0" showHex size
|
||||
|
||||
eflags <- regRead uc X86.Eflags
|
||||
emuPutStrLn $ ">>> --- EFLAGS is 0x" ++ showHex eflags
|
||||
|
Reference in New Issue
Block a user