-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | C bindings for the gnu-extension functions process_vm_readv and process_vm_writev -- -- C bindings for the gnu-extension functions process_vm_readv and -- process_vm_writev @package processmemory @version 0.1.0.0 module Data.Memory.Debug.IOVec data IOVec IOVec :: Ptr Word8 -> Int -> IOVec [iov_base] :: IOVec -> Ptr Word8 [iov_len] :: IOVec -> Int instance GHC.Show.Show Data.Memory.Debug.IOVec.IOVec instance Foreign.Storable.Storable Data.Memory.Debug.IOVec.IOVec module Data.Memory.Debug.FFI type SSize_T = CULong processVMReadV_ :: CPid -> Ptr IOVec -> CULong -> Ptr IOVec -> CULong -> CULong -> IO SSize_T -- | Wrapper function for process_vm_readv. No flags, only single io -- vectors are read processVMReadV :: CPid -> Ptr Word8 -> Int -> IO [Word8] processVMWriteV_ :: CPid -> Ptr IOVec -> CULong -> Ptr IOVec -> CULong -> CULong -> IO SSize_T -- | Wrapper function for process_vm_writev. No flags, only single io -- vectors are written processVMWriteV :: CPid -> Ptr Word8 -> Int -> [Word8] -> IO () module Data.Memory.Debug.Serialize -- | Wrapper function for Data.Binary.encode. Our package works with lists -- of Word8 so this is a convenient helper function that does the -- conversion for you. -- -- It is not efficient, but this module is not designed for large amounts -- of memory transfers anyway. encode :: Binary a => a -> [Word8] decode :: Binary a => [Word8] -> a module Data.Memory.Debug data IOVec IOVec :: Ptr Word8 -> Int -> IOVec [iov_base] :: IOVec -> Ptr Word8 [iov_len] :: IOVec -> Int -- | Wrapper function for process_vm_readv. No flags, only single io -- vectors are read processVMReadV :: CPid -> Ptr Word8 -> Int -> IO [Word8] -- | Wrapper function for process_vm_writev. No flags, only single io -- vectors are written processVMWriteV :: CPid -> Ptr Word8 -> Int -> [Word8] -> IO () -- | Wrapper function for Data.Binary.encode. Our package works with lists -- of Word8 so this is a convenient helper function that does the -- conversion for you. -- -- It is not efficient, but this module is not designed for large amounts -- of memory transfers anyway. encode :: Binary a => a -> [Word8] decode :: Binary a => [Word8] -> a module Data.Memory.Debug.Wrapper class Binary a => Wrapper a load :: Wrapper a => Pid -> Ptr Word8 -> IO a store :: Wrapper a => Pid -> Ptr Word8 -> a -> IO () change :: Wrapper a => Pid -> Ptr Word8 -> (a -> a) -> IO () instance Data.Memory.Debug.Wrapper.Wrapper GHC.Types.Int instance Data.Memory.Debug.Wrapper.Wrapper GHC.Types.Char instance Data.Memory.Debug.Wrapper.Wrapper GHC.Types.Bool instance Data.Memory.Debug.Wrapper.Wrapper GHC.Int.Int8 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Int.Int16 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Int.Int32 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Int.Int64 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Word.Word8 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Word.Word16 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Word.Word32 instance Data.Memory.Debug.Wrapper.Wrapper GHC.Word.Word64