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

            return(_calc);
        }
예제 #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();
        }
예제 #4
0
        public LocationCalculator GetCalculator()
        {
            if (_calc == null)
                _calc = new LocationCalculator(this);

            return _calc;
        }