首页
社区
课程
招聘
[旧帖] [求助]如何分析下面的net 的IL 代码 0.00雪花
发表于: 2007-7-19 16:15 4009

[旧帖] [求助]如何分析下面的net 的IL 代码 0.00雪花

2007-7-19 16:15
4009
反编译一个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

[课程]Android-CTF解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
不懂不明白的
2007-7-19 16:49
0
游客
登录 | 注册 方可回帖
返回
//