Beispiel #1
0
 internal Section(LWin32 assembly,
     uint headeroffset,
     Structures.IMAGE_SECTION_HEADER rawHeader)
 {
     this._rawHeader = rawHeader;
     this.headeroffset = headeroffset;
     this.assembly = assembly;
     this.HasImage = true;
 }
Beispiel #2
0
 public Section(string name, uint offset, byte[] contents)
 {
     this.HasImage = false;
     _rawHeader = new Structures.IMAGE_SECTION_HEADER();
     this.Name = name;
     this.RawOffset = offset;
     this.RawSize = (uint)contents.Length;
     this._contents = contents;
 }