-
-
这段IL用Reflecter无法转换成C#。
-
发表于:
2010-3-16 09:42
6338
-
.method public hidebysig static string
ILTest(string str,
int32 '211566702b710682') cil managed
{
// 代码大小 52 (0x34)
.maxstack 6
.locals init (char[] V_0,
int32 V_1)
IL_0000: ldarg.0
IL_0001: br.s IL_0015
IL_0003: sub
IL_0004: conv.u2
IL_0005: stelem.i2
IL_0006: ldarg.1
IL_0007: ldc.i4 0x6fd
IL_000c: add
IL_000d: starg.s '211566702b710682'
IL_000f: ldloc.1
IL_0010: ldc.i4.1
IL_0011: add
IL_0012: stloc.1
IL_0013: br.s IL_0027
IL_0015: callvirt instance char[] [mscorlib]System.String::ToCharArray()
IL_001a: stloc.0
IL_001b: ldc.i4.0
IL_001c: stloc.1
IL_001d: br.s IL_0027
IL_001f: ldloc.0
IL_0020: ldloc.1
IL_0021: ldloc.0
IL_0022: ldloc.1
IL_0023: ldelem.u2
IL_0024: ldarg.1
IL_0025: br.s IL_0003
IL_0027: ldloc.1
IL_0028: ldloc.0
IL_0029: ldlen
IL_002a: conv.i4
IL_002b: blt.s IL_001f
IL_002d: ldloc.0
IL_002e: newobj instance void [mscorlib]System.String::.ctor(char[])
IL_0033: ret
} // end of method MyClass::ILTest
报的异常为:SmartExceptionsCore.UnhandledException @4295,offset:0
我初学.net逆向,老大们帮帮忙。指点迷津。谢谢!!!
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!