namespace UnicornManaged open System open System.Runtime.InteropServices // internal hooks to be passed to native Unicorn library [] type internal CodeHookInternal = delegate of IntPtr * Int64 * Int32 * IntPtr -> unit [] type internal BlockHookInternal = delegate of IntPtr * Int64 * Int32 * IntPtr -> unit [] type internal InterruptHookInternal = delegate of IntPtr * Int32 * IntPtr -> unit [] type internal MemReadHookInternal = delegate of IntPtr * Int64 * Int32 * IntPtr -> unit [] type internal MemWriteHookInternal = delegate of IntPtr * Int64 * Int32 * Int64 * IntPtr -> unit [] type internal EventMemHookInternal = delegate of IntPtr * Int32 * Int64 * Int32 * Int64 * IntPtr-> Boolean [] type internal InHookInternal = delegate of IntPtr * Int32 * Int32 * IntPtr -> Int32 [] type internal OutHookInternal = delegate of IntPtr * Int32 * Int32 * Int32 * IntPtr -> unit [] type internal SyscallHookInternal = delegate of IntPtr * IntPtr -> unit