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

            return(_calc);
        }
Ejemplo 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();
        }
Ejemplo n.º 4
0
        public LocationCalculator GetCalculator()
        {
            if (_calc == null)
                _calc = new LocationCalculator(this);

            return _calc;
        }