예제 #1
0
 public DataDirectory(AssemblyBuffer buffer)
 {
     this.RVA  = buffer.ReadDWord();
     this.Size = buffer.ReadDWord();
 }
 public ModuleTableRow(AssemblyBuffer buffer) : base(buffer)
 {
 }
예제 #3
0
 public DOSHeader(AssemblyBuffer currentBuffer)
 {
     this.MagicNumber = currentBuffer.ReadWord();
     currentBuffer.SetIndexPointer(0x3C); // We don't need the rest of the struct so skip to the end to get the PE header pointer.
     this.PEHeaderPointer = currentBuffer.ReadDWord();
 }