oh dear
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
||||
{
|
||||
// Token: 0x02001B9F RID: 7071
|
||||
[Token(Token = "0x2001B9F")]
|
||||
public class UseSrtpData
|
||||
{
|
||||
// Token: 0x0600B0B8 RID: 45240 RVA: 0x00266380 File Offset: 0x00264580
|
||||
[Token(Token = "0x600B0B8")]
|
||||
[Address(RVA = "0x1835AA0", Offset = "0x18348A0", VA = "0x181835AA0")]
|
||||
public UseSrtpData(int[] protectionProfiles, byte[] mki)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B0B8)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::.ctor(System.Int32[],System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_1_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("must have length from 1 to (2^15 - 1)"), ldstr:string("protectionProfiles")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001BD3 RID: 7123
|
||||
// (get) Token: 0x0600B0B9 RID: 45241 RVA: 0x002663CC File Offset: 0x002645CC
|
||||
[Token(Token = "0x17001BD3")]
|
||||
public virtual int[] ProtectionProfiles
|
||||
{
|
||||
[Token(Token = "0x600B0B9")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.mProtectionProfiles;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001BD4 RID: 7124
|
||||
// (get) Token: 0x0600B0BA RID: 45242 RVA: 0x002663E0 File Offset: 0x002645E0
|
||||
[Token(Token = "0x17001BD4")]
|
||||
public virtual byte[] Mki
|
||||
{
|
||||
[Token(Token = "0x600B0BA")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.mMki;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04007095 RID: 28821
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007095")]
|
||||
protected readonly int[] mProtectionProfiles;
|
||||
|
||||
// Token: 0x04007096 RID: 28822
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007096")]
|
||||
protected readonly byte[] mMki;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user