Example #1
0
        public SymbolUDT(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            TypeIndex = stream.ExtractInt32();
            Name      = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }
Example #2
0
        public SymbolPublic(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            PublicType   = stream.ExtractInt32();
            Offset       = stream.ExtractInt32();
            SectionIndex = stream.ExtractUInt16();
            Name         = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }
Example #3
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();
        }
Example #4
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();
        }