On 23 Jan 2004 at 9:24, Peter Norton wrote:
Info: To explore the content of exe file produced by gpc I compiled foo.pas - just "begin end.". It gave me 349.322 bytes exe file. Open it with hex editor I was wondered with content - there are a small manual how to use RTS (?), alot of zeros ... and a few web addresses I visited a few days ago! I have compiled one more time with -s switch. Again the visited addresses from the history of my Opera 6.05 I used hour before. Exploring it closer I found that some random memory dump is embeding in to exe. Who knows what will be there the next time - may be an accout's passwords or credit card detail you entered some days ago in browser. It placed after second 'msvcrt.dll' followed by two zeros and always is 328 bytes. I saved a few samples if someone will be interest. I use GPC under MinGW on Windows 98SE. Is it known issue?
I have not been able to reproduce this (under Windows XP). All I find in my executable are references to the names of a zillion routines. In any case, I doubt that what you have experienced is specifically a gpc issue. It is more likely a Windows issue, or an issue with the linker.
Question: Is there a program for Windows to analyze the content of PE executables and cleaning out the rubbish?
Compressing with upx does a pretty good job.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/