43 lines
1.6 KiB
C#
43 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Backtrace.Unity.Types;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Backtrace.Unity.Common
|
|
{
|
|
// Token: 0x0200004D RID: 77
|
|
[Token(Token = "0x2000038")]
|
|
internal static class MinidumpHelper
|
|
{
|
|
// Token: 0x06000232 RID: 562 RVA: 0x00002894 File Offset: 0x00000A94
|
|
[Token(Token = "0x60001D9")]
|
|
[Address(RVA = "0x2417980", Offset = "0x2416780", VA = "0x182417980")]
|
|
private static bool IsMemoryDumpAvailable()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000233 RID: 563
|
|
[Token(Token = "0x60001DA")]
|
|
[Address(RVA = "0x2417C30", Offset = "0x2416A30", VA = "0x182417C30")]
|
|
internal static extern bool MiniDumpWriteDump(IntPtr hProcess, uint processId, SafeHandle hFile, uint dumpType, ref MiniDumpExceptionInformation expParam, IntPtr userStreamParam, IntPtr callbackParam);
|
|
|
|
// Token: 0x06000234 RID: 564
|
|
[Token(Token = "0x60001DB")]
|
|
[Address(RVA = "0x2417B00", Offset = "0x2416900", VA = "0x182417B00")]
|
|
internal static extern bool MiniDumpWriteDump(IntPtr hProcess, uint processId, SafeHandle hFile, uint dumpType, IntPtr expParam, IntPtr userStreamParam, IntPtr callbackParam);
|
|
|
|
// Token: 0x06000235 RID: 565 RVA: 0x000028AC File Offset: 0x00000AAC
|
|
[Token(Token = "0x60001DC")]
|
|
[Address(RVA = "0x2417DA0", Offset = "0x2416BA0", VA = "0x182417DA0")]
|
|
internal static bool Write(string filePath, MiniDumpType options = MiniDumpType.WithFullMemory, MinidumpException exceptionType = MinidumpException.None)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0400017A RID: 378
|
|
[Token(Token = "0x4000120")]
|
|
private static readonly string[] Libraries;
|
|
}
|
|
}
|