示例#1
0
        internal FileHeader(ExecutableImage exeImage, IMAGE_FILE_HEADER fileHeader, ulong headerOffset, ulong imageBase)
        {
            image = exeImage;
            header = fileHeader;

            uint size = Convert.ToUInt32(Utils.SizeOf<IMAGE_FILE_HEADER>());

            location = new Location(headerOffset,Convert.ToUInt32(headerOffset),imageBase + headerOffset,size,size);
        }
示例#2
0
 internal FileHeader(ExeReader exeReader, IMAGE_FILE_HEADER fileHeader, StreamLocation streamLoc)
 {
     reader = exeReader;
     header = fileHeader;
     location = streamLoc;
 }