Little surprises inside of compiled files

Geoffrey Noer
Sun Apr 12 23:51:00 GMT 1998

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
For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list