This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Little surprises inside of compiled files
- To: sos at buggy dot prospect dot com dot ru (Sergey Okhapkin)
- Subject: Re: Little surprises inside of compiled files
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Sun, 12 Apr 1998 23:49:52 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com, afn06760 at afn dot org
Sergey Okhapkin wrote:
>
> > I have a MINGW32 compiled verison of the Midnight Commander file browser,
> > and just accidentally was using it to view the contents of
> cygwin-compiled
> > files in my /usr/local/bin directory, and I have found pieces of source
> > code embedded in the middle of executables:
>
> It's a well-known "feature" of Win95 - when linker does a seek past end of
> generated exe file, the gap is filled with random context of computer's
> memory rather that with zeroes... The same on NT works as expected.
While true, Cygwin32 needs to be changed to detect this occurrance and
fill it with zeros.
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".