首页
社区
课程
招聘
[求助]IL 的问题
发表于: 2008-9-4 21:31 5000

[求助]IL 的问题

2008-9-4 21:31
5000
以下IL代码是从hilasm中dump出来的。

[I]    IL_0001:  /* 72   | (70)000001       */ ldstr      "ABC"
    IL_0006:  /* 7D   | (04)000001       */ stfld      string ClassLibrary1.Class1::a
    IL_000b:  /* 02   |                  */ ldarg.0
    IL_000c:  /* 28   | (0A)000010       */ call       instance void [mscorlib]System.Object::.ctor()
    IL_0011:  /* 00   |                  */ nop[/I]

在上面的代码中,/* 72   | (70)000001       */。72是指令,(70)对应的是MetaData Streams的#US。

那么这个(04),(0A)又对应的哪里呢?

还有哪里有.net对应的pe文件格式说明呢?

小弟不胜感激!

[课程]Linux pwn 探索篇!

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 164
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
00 - Module                  01 - TypeRef                02 - TypeDef
04 - Field                   06 - MethodDef              08 - Param
09 - InterfaceImpl           10 - MemberRef              11 - Constant
12 - CustomAttribute         13 - FieldMarshal           14 - DeclSecurity
15 - ClassLayout             16 - FieldLayout            17 - StandAloneSig
18 - EventMap                20 - Event                  21 - PropertyMap
23 - Property                24 - MethodSemantics        25 - MethodImpl
26 - ModuleRef               27 - TypeSpec               28 - ImplMap
29 - FieldRVA                32 - Assembly               33 - AssemblyProcessor
34 - AssemblyOS              35 - AssemblyRef            36 - AssemblyRefProcessor
37 - AssemblyRefOS           38 - File                   39 - ExportedType
40 - ManifestResource        41 - NestedClass            42 - GenericParam
44 - GenericParamConstraint

http://www.codeproject.com/KB/dotnet/dotnetformat.aspx
2008-11-11 18:14
0
游客
登录 | 注册 方可回帖
返回
//