MSDN-WhiteKnight / CilTools

A set of tools to work with CIL in .NET applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support RVA fields in type disassembler

MSDN-WhiteKnight opened this issue · comments

ECMA-335 II.16.3.1 - Data declaration

Current:

.field static assembly initonly int64 '8F1A52EA427069AA8B6FC1D0A7BC426B2160A963E2DBFA59CE3E254462981A0B'

Expected:

.field static assembly initonly int64 '8F1A52EA427069AA8B6FC1D0A7BC426B2160A963E2DBFA59CE3E254462981A0B' at I_0000DC30
// ...
.data cil I_0000DC30 = bytearray (
             20 00 09 00 0D 00 0A 00)

FieldDefinition.GetRelativeVirtualAddress