Ejemplo n.º 1
0
        internal void Read(PeReader rdr)
        {
            n     = new string(rdr.ReadChars(8)).Trim('\0');
            vSize = rdr.ReadUInt32();
            vPtr  = rdr.ReadUInt32();
            uint rSize = rdr.ReadUInt32();
            uint rPtr  = rdr.ReadUInt32();

            relocPtr = rdr.ReadUInt32();
            lnPtr    = rdr.ReadUInt32();
            relocNo  = rdr.ReadUInt16();
            lnNo     = rdr.ReadUInt16();
            c        = (SectionFlags)rdr.ReadUInt32();
            rdr.SaveLocation();
            rdr.SetPosition(rPtr);
            dat = rdr.ReadBytes((int)rSize);
            rdr.LoadLocation();
        }