terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CheckSignature()

bool Mono.Security.Authenticode.AuthenticodeDeformatter.CheckSignature ( )
inlineprivate

Definition at line 46 of file AuthenticodeDeformatter.cs.

47 {
48 /*
49An exception occurred when decompiling this method (060002A3)
50
51ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Mono.Security.Authenticode.AuthenticodeDeformatter::CheckSignature()
52
53 ---> System.Exception: Basic block has to end with unconditional control flow.
54{
55 IL_005E:
56 stfld:int32(AuthenticodeDeformatter::reason, ldloc:AuthenticodeDeformatter(this), ldc.i4:int32(1))
57 call:void(AuthenticodeBase::Close, ldloc:AuthenticodeDeformatter[exp:AuthenticodeBase](this))
58 stloc:SHA1(var_13_76, call:SHA1(SHA1::Create))
59 stloc:MD5(var_15_80, call:MD5(MD5::Create))
60 stloc:SHA256(var_17_8A, call:SHA256(SHA256::Create))
61 stloc:SHA384(var_19_94, call:SHA384(SHA384::Create))
62 stloc:uint8[](var_20_9E, call:uint8[](AuthenticodeBase::GetHash, ldloc:AuthenticodeDeformatter[exp:AuthenticodeBase](this), ldloc:SHA384[exp:HashAlgorithm](var_19_94)))
63 stfld:uint8[](AuthenticodeDeformatter::hash, ldloc:AuthenticodeDeformatter(this), ldloc:uint8[](var_20_9E))
64 call:void(AuthenticodeBase::Close, ldloc:AuthenticodeDeformatter[exp:AuthenticodeBase](this))
65 stloc:ASN1(var_21_B4, ldfld:ASN1(AuthenticodeDeformatter::signedHash, ldloc:AuthenticodeDeformatter(this)))
66 stloc:uint8[](var_22_BC, ldfld:uint8[](AuthenticodeDeformatter::hash, ldloc:AuthenticodeDeformatter(this)))
67 stloc:bool(var_23_C7, call:bool(ASN1::CompareValue, ldloc:ASN1(var_21_B4), ldloc:uint8[](var_22_BC)))
68 stfld:int32(AuthenticodeDeformatter::reason, ldloc:AuthenticodeDeformatter(this), ldc.i4:int32(2))
69 stloc:uint8[](var_26_DA, callgetter:uint8[](ASN1::get_Value, ldloc:ASN1(var_25)))
70 stloc:uint8[](var_27_E5, call:uint8[](HashAlgorithm::ComputeHash, ldloc:SHA384[exp:HashAlgorithm](var_19_94), ldloc:uint8[](var_26_DA)))
71 stloc:int32(var_30_F0, ldfld:int32(AuthenticodeDeformatter::reason, ldloc:AuthenticodeDeformatter(this)))
72}
73
74 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
75 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
76 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
77 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
78 --- End of inner exception stack trace ---
79 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
80 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 1683
81*/;
82 }