Exemplo n.º 1
0
        public SymbolProcRef(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            SumName   = stream.ExtractUInt32();
            SymOffset = stream.ExtractUInt32();
            Module    = stream.ExtractUInt16();
            Name      = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }
Exemplo n.º 2
0
        public SymbolSection(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            SectionIndex    = stream.ExtractUInt16();
            Alignment       = stream.ExtractUInt16();
            RVA             = stream.ExtractUInt32();
            Length          = stream.ExtractUInt32();
            Characteristics = stream.ExtractUInt32();
            Name            = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }