Copyright | (c) Esa Ilari Vuokko 2006 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
A collection of FFI declarations for using Windows DebugApi.
Documentation
outputDebugString :: WindowsString -> IO () Source #
data DebugEventInfo Source #
Instances
Show DebugEventInfo Source # | |
Defined in System.Win32.DebugApi |
type DebugEventId = (PID, TID) Source #
type ForeignAddress = Word32 Source #
type ThreadInfo = (THANDLE, ForeignAddress, ForeignAddress) Source #
type ImageInfo = (HANDLE, ForeignAddress, DWORD, DWORD, ForeignAddress) Source #
type ExceptionInfo = (Bool, Bool, ForeignAddress) Source #
type DebugEvent = (DebugEventId, DebugEventInfo) Source #
debugBreak :: IO () Source #
waitForDebugEvent :: Maybe Int -> IO (Maybe DebugEvent) Source #
getDebugEvents :: Int -> IO [DebugEvent] Source #
continueDebugEvent :: DebugEventId -> Bool -> IO () Source #
debugActiveProcess :: PID -> IO () Source #
peekProcessMemory :: PHANDLE -> ForeignAddress -> Int -> Ptr a -> IO () Source #
readProcessMemory :: PHANDLE -> ForeignAddress -> Int -> IO (ForeignPtr a) Source #
pokeProcessMemory :: PHANDLE -> ForeignAddress -> Int -> Ptr a -> IO () Source #
withProcessMemory :: PHANDLE -> ForeignAddress -> Int -> (Ptr a -> IO b) -> IO b Source #
useAllRegs :: Ptr a -> IO () Source #