Mail Archives: djgpp/2002/06/16/12:12:59

From: Vinzent Hoefler <JeLlyFish DOT software AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strange content in compiled file
Date: Sun, 16 Jun 2002 16:43:08 +0200
Organization: JeLlyFish software
References: <aehvo9$73br1$1 AT ID-43990 DOT news DOT dfncis DOT de> <Xns922F96A66B6F9raf256com AT 213 DOT 180 DOT 128 DOT 20>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Message-ID: <>
X-Trace: 1024238595 (16 Jun 2002 16:43:15 +0200)
Lines: 21
X-Complaints-To: abuse AT bluewin DOT ch
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rafal 'Raf256' Maj" <rafal AT raf256 DOT com> wrote:

>"Christian Görgen" <christiangoergen AT gmx DOT de> wrote in 
>news:aehvo9$73br1$1 AT ID-43990 DOT news DOT dfncis DOT de:
>> after compiling a simple HelloWorld.c-file with gcc, i found some strange
>> content in the HelloWorld.exe and HelloWorld files.
>> They contained code-sniplets auf websites i visited formerly and also
>> contents of mails, wich are saved in outlook express folders.
>yes, this is a bug in MsDos / Windows that don't fill with zero's new 
>blocks of memory / diskspace

And so why does the linker output a lot of bytes of uninitialized
memory? Isn't it supposed to output just the things it needs to create
the executable?


- Raw text -

  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019