processmemory-0.1.0.0: C bindings for the gnu-extension functions process_vm_readv and process_vm_writev

Safe HaskellSafe
LanguageHaskell2010

Data.Memory.Debug.Wrapper

Documentation

class Binary a => Wrapper a where Source #

Minimal complete definition

load, store

Methods

load :: Pid -> Ptr Word8 -> IO a Source #

store :: Pid -> Ptr Word8 -> a -> IO () Source #

change :: Pid -> Ptr Word8 -> (a -> a) -> IO () Source #

Instances
Wrapper Bool Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Bool Source #

store :: Pid -> Ptr Word8 -> Bool -> IO () Source #

change :: Pid -> Ptr Word8 -> (Bool -> Bool) -> IO () Source #

Wrapper Char Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Char Source #

store :: Pid -> Ptr Word8 -> Char -> IO () Source #

change :: Pid -> Ptr Word8 -> (Char -> Char) -> IO () Source #

Wrapper Int Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Int Source #

store :: Pid -> Ptr Word8 -> Int -> IO () Source #

change :: Pid -> Ptr Word8 -> (Int -> Int) -> IO () Source #

Wrapper Int8 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Int8 Source #

store :: Pid -> Ptr Word8 -> Int8 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Int8 -> Int8) -> IO () Source #

Wrapper Int16 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Int16 Source #

store :: Pid -> Ptr Word8 -> Int16 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Int16 -> Int16) -> IO () Source #

Wrapper Int32 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Int32 Source #

store :: Pid -> Ptr Word8 -> Int32 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Int32 -> Int32) -> IO () Source #

Wrapper Int64 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Int64 Source #

store :: Pid -> Ptr Word8 -> Int64 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Int64 -> Int64) -> IO () Source #

Wrapper Word8 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Word8 Source #

store :: Pid -> Ptr Word8 -> Word8 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Word8 -> Word8) -> IO () Source #

Wrapper Word16 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Word16 Source #

store :: Pid -> Ptr Word8 -> Word16 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Word16 -> Word16) -> IO () Source #

Wrapper Word32 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Word32 Source #

store :: Pid -> Ptr Word8 -> Word32 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Word32 -> Word32) -> IO () Source #

Wrapper Word64 Source # 
Instance details

Defined in Data.Memory.Debug.Wrapper

Methods

load :: Pid -> Ptr Word8 -> IO Word64 Source #

store :: Pid -> Ptr Word8 -> Word64 -> IO () Source #

change :: Pid -> Ptr Word8 -> (Word64 -> Word64) -> IO () Source #