Skip to content

Instantly share code, notes, and snippets.

@Softanics
Created September 28, 2022 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Softanics/5e1eb310cb83a6626a63f39b446ca611 to your computer and use it in GitHub Desktop.
Save Softanics/5e1eb310cb83a6626a63f39b446ca611 to your computer and use it in GitHub Desktop.
.method private hidebysig static void '<Main>$'(string[] args) cil managed
{
.entrypoint
// Code size 107 (0x6b)
.maxstack 12
.locals init (int32 V_0,
int32[] V_1,
class [System.Runtime]System.Exception V_2,
int32 V_3,
int32[] V_4,
string V_5,
class [System.Security.Cryptography.Algorithms]System.Security.Cryptography.SHA256 V_6,
uint8[] V_7,
object V_8,
bool V_9,
bool V_10)
IL_0000: ldc.i4.0
IL_0001: stloc.0
IL_0002: ldc.i4.s 14
IL_0004: newarr [System.Runtime]System.Int32
IL_0009: stloc.1
IL_000a: ldloc.1
IL_000b: ldc.i4.2
IL_000c: ldc.i4.7
IL_000d: stelem.i4
IL_000e: ldloc.1
IL_000f: ldc.i4.3
IL_0010: ldc.i4.7
IL_0011: stelem.i4
IL_0012: ldloc.1
IL_0013: ldc.i4.4
IL_0014: ldc.i4.7
IL_0015: stelem.i4
IL_0016: ldloc.1
IL_0017: ldc.i4.5
IL_0018: ldc.i4.7
IL_0019: stelem.i4
IL_001a: nop
IL_001b: ldloc.0
IL_001c: ldc.i4.s 12
IL_001e: bne.un.s IL_0022
IL_0020: ldloc.2
IL_0021: throw
IL_0022: ldloc.0
IL_0023: ldc.i4.s 11
IL_0025: beq.s IL_006a
.try
{
IL_0027: ldloca.s V_0
IL_0029: ldloca.s V_3
IL_002b: ldloca.s V_4
IL_002d: ldloc.2
IL_002e: ldloca.s V_5
IL_0030: ldloca.s V_6
IL_0032: ldloca.s V_7
IL_0034: ldloca.s V_8
IL_0036: ldloca.s V_9
IL_0038: ldloca.s V_10
IL_003a: ldsfld native int[] Program::AssemblyReferenceDependentAssemblyFlagsJson
IL_003f: ldloc.0
IL_0040: ldelem.i
IL_0041: calli void(int32&,int32&,int32[]&,class [System.Runtime]System.Exception,string&,class [System.Security.Cryptography.Algorithms]System.Security.Cryptography.SHA256&,uint8[]&,object&,bool&,bool&)
IL_0046: nop
IL_0047: leave.s IL_0068
} // end .try
catch [System.Runtime]System.Exception
{
IL_0049: ldloc.0
IL_004a: ldc.i4.s 13
IL_004c: bne.un.s IL_0053
IL_004e: pop
IL_004f: ldloc.3
IL_0050: stloc.0
IL_0051: leave.s IL_0068
IL_0053: nop
IL_0054: stloc.2
IL_0055: ldnull
IL_0056: stloc.s V_4
IL_0058: ldloc.1
IL_0059: ldloc.0
IL_005a: ldc.i4.0
IL_005b: sub
IL_005c: ldelem.i4
IL_005d: dup
IL_005e: ldc.i4.0
IL_005f: beq.s IL_0066
IL_0061: ldc.i4.m1
IL_0062: add
IL_0063: stloc.0
IL_0064: leave.s IL_0068
IL_0066: rethrow
} // end handler
IL_0068: br.s IL_001a
IL_006a: ret
} // end of method Program::'<Main>$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment