[Q] Possible to compress EXE with UPX?

delphi package - automated exception handling
Post Reply
TheEdge
Posts: 15
Joined: Fri Apr 08, 2005 12:05 pm

[Q] Possible to compress EXE with UPX?

Post by TheEdge »

G'Day,

Can madSHI 2.7 be used with UPX and still get a sensible stack trace? ie Is it possible to use any EXE compressor and get a sensible stack trace?

TIA
Markham
Posts: 26
Joined: Wed Nov 02, 2005 11:46 am

Post by Markham »

I don't know about v2.x but certainly madExcept v3.x can be used in conjunction with UPX and all functionality works as it should, including stack traces.


Mark
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

madExcept 2.x can be used with Petite and AsPack, but not with UPX. The reason is that UPX changes the PE header information and does NOT change it back after uncompressing the exe in memory. I consider that a bug.

madExcept 3.x can be used with UPX, because there I've simply stored the header information during compile time, so in other words: madExcept 3.x is able to work around the UPX bug.
Post Reply