Esempio n. 1
0
 internal Section(Win32Assembly assembly,
     uint headeroffset, 
     Structures.IMAGE_SECTION_HEADER rawHeader)
 {
     this._rawHeader = rawHeader;
     this.headeroffset = headeroffset;
     this.assembly = assembly;
     this.HasImage = true;
 }
Esempio n. 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;
 }