Пример #1
0
 public void Read(BinaryReader reader)
 {
     magic          = reader.ReadInt16();
     lMajor         = reader.ReadByte();
     lMinor         = reader.ReadByte();
     codeSize       = reader.ReadUInt32();
     initDataSize   = reader.ReadUInt32();
     uninitDataSize = reader.ReadUInt32();
     entryRVA       = new RVA(reader.ReadUInt32());
     codeBase       = new RVA(reader.ReadUInt32());
     dataBase       = new RVA(reader.ReadUInt32());
 }
Пример #2
0
 static RVA()
 {
     Null = new RVA(0);
 }
Пример #3
0
 public void Read(BinaryReader reader)
 {
     virtAddr = new RVA(reader.ReadUInt32());
     size     = reader.ReadUInt32();
 }