Subject: Re: Little surprises inside of compiled files
From: [email-masked] (William Greathouse)

15 Apr 1998 15:00:54 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------FA4470E0367EC6219B07ED4B"
To: [email-masked]
Cc: [email-masked]

This is a multi-part message in MIME format.
--------------FA4470E0367EC6219B07ED4B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

[email-masked] 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:
> 
..... Deleted sample for brevity ....
>

Try running peclean (attached) on the files.  This will zero fill the
empty areas and verify the .reloc section termination.

Enjoy,
Bill
--------------FA4470E0367EC6219B07ED4B
Content-Type: application/octet-stream; name="peclean.exe"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="peclean.exe"

--------------FA4470E0367EC6219B07ED4B
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for William Greathouse
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             William Greathouse
n:              Greathouse;William
org:            SMV America
adr:            Engineering R&D;;8380 Darrow Road;Twinsburg;OH;44087;USA
email;internet: [email-masked]
title:          Senior Engineer, Project Leader
tel;work:       (330) 425-1340 x4006
tel;fax:        (330) 405-7684
note:           Personal Email: [email-masked]
x-mozilla-cpt:  ;2
x-mozilla-html: FALSE
version:        2.1
end:            vcard

--------------FA4470E0367EC6219B07ED4B--

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".