Esempio n. 1
0
 private PortableExecutableImage(Stream stream, bool ownStream)
 {
     _stream    = stream;
     _ownStream = ownStream;
     _disposed  = false;
     _calc      = null;
 }
Esempio n. 2
0
        public LocationCalculator GetCalculator()
        {
            if (_calc == null)
            {
                _calc = new LocationCalculator(this);
            }

            return(_calc);
        }
Esempio n. 3
0
        private ExecutableImage(Stream sourceStream, bool ownStream)
        {
            _disposed = false;
            _stream = sourceStream;
            _own_stream = ownStream;
            _calc = null;

            _dos_header = null;
            _dos_stub = null;
            _nt_headers = null;
            _section_table = null;
            _sections = null;

            _is_32bit = false;
            _is_64bit = false;
            _is_clr = false;
            _is_signed = false;

            Load();
        }
Esempio n. 4
0
        public LocationCalculator GetCalculator()
        {
            if (_calc == null)
                _calc = new LocationCalculator(this);

            return _calc;
        }