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 | Safe |
Language | Haskell2010 |
A collection of FFI declarations for using Windows DebugApi.
Documentation
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 #
data DebugEventInfo Source #
Instances
Show DebugEventInfo Source # | |
Defined in System.Win32.DebugApi |
type DebugEvent = (DebugEventId, DebugEventInfo) Source #
peekDebugEvent :: Ptr a -> IO DebugEvent 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 #
outputDebugString :: String -> IO () Source #
c_OutputDebugString :: LPTSTR -> IO () Source #
debugBreak :: IO () Source #