-
-
[旧帖]
[求助]如何分析下面的net 的IL 代码
0.00雪花
-
发表于:
2007-7-19 16:15
4032
-
[旧帖] [求助]如何分析下面的net 的IL 代码
0.00雪花
反编译一个net dll,有一个类无法反编译,il代码如下。
.class abstract auto ansi sealed beforefieldinit c00000c
extends [mscorlib]System.Object
{
.method hidebysig static string m000000(string p0) cil managed
{
// Code size: 46 bytes
.maxstack 7
.locals ([0] char[] V_0,
[1] int32 V_1)
IL_0000: ldarg.0
IL_0001: call instance char[] [mscorlib]System.String::ToCharArray()
IL_0006: dup
IL_0007: stloc.0
IL_0008: dup
IL_0009: ldlen
IL_000a: conv.i4
IL_000b: dup
IL_000c: ldc.i4.0
IL_000d: bgt.s IL_001b
IL_000f: pop
IL_0010: newobj instance void [mscorlib]System.String::.ctor(char[])
IL_0015: call string [mscorlib]System.String::Intern(string)
IL_001a: ret
IL_001b: ldc.i4.m1
IL_001c: add
IL_001d: dup
IL_001e: stloc.1
IL_001f: ldloc.0
IL_0020: ldloc.1
IL_0021: ldelem.u2
IL_0022: ldc.i4 0x00001469//5225
IL_0027: sub
IL_0028: conv.u2
IL_0029: stelem.i2
IL_002a: ldloc.0
IL_002b: ldloc.1
IL_002c: br.s IL_000b
}//end of method c00000c::m000000
}//end of class c00000c
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课