SharpMiniDump
SharpMiniDump copied to clipboard
problem to run sharp minidump
Hi In this blow code "fileHandle" doesn't fill and I face with this error: [x] Error MiniDumpWriteDump Can you help me Thank you this is my email: [email protected]
public static NTSTATUS NtCreateFile10(out IntPtr fileHandle, Int32 desiredAccess, ref OBJECT_ATTRIBUTES objectAttributes, out IO_STATUS_BLOCK ioStatusBlock, ref Int64 allocationSize, UInt32 fileAttributes, System.IO.FileShare shareAccess, UInt32 createDisposition, UInt32 createOptions, IntPtr eaBuffer, UInt32 eaLength) { byte[] syscall = bNtCreateFile10;
IntPtr memoryAddress = msil.getAdrressWithMSIL(syscall);
Delegates.NtCreateFile myAssemblyFunction = (Delegates.NtCreateFile)Marshal.GetDelegateForFunctionPointer(memoryAddress, typeof(Delegates.NtCreateFile));
return (NTSTATUS)myAssemblyFunction(out fileHandle, desiredAccess,ref objectAttributes,out ioStatusBlock,ref allocationSize, fileAttributes, shareAccess, createDisposition, createOptions, eaBuffer, eaLength);
}