Example #1
0
 internal DOSHeader(ExeReader exeReader, IMAGE_DOS_HEADER dosHeader, StreamLocation streamLoc)
 {
     reader = exeReader;
     header = dosHeader;
     location = streamLoc;
 }
Example #2
0
 internal DOSHeader(ExecutableImage exeImage, IMAGE_DOS_HEADER dosHeader, ulong imageBase)
 {
     image = exeImage;
     header = dosHeader;
     location = new Location(0,0,imageBase,Convert.ToUInt32(DOSHeader.Size),Convert.ToUInt32(DOSHeader.Size));
 }