Share

UPX - a powerful executable packer

Tracker: Bugs

5 --exact switch bugs - ID: 1758618
Last Update: Comment added ( mfx )

autoruns was compressed with --exact --best --compress-icons=3
--strip-relocs=0

bugs;

checksum header entry was not saved and restored.

security directory/entry was not saved and restored.

debug directory/entry was not saved and restored.

IAT directory was not saved and restored.

IAT/image import descriptor and .idata section was not saved and restored
exactly.

.rdata section was not saved and restored exactly.

resource section (.rsrc) was not saved and restored exactly.

comments:

byte exact means BYTE EXACT, not "works".

Please fix these bugs. I, and many others, would like to use UPX to
precompress executables and decompress them in EXACT form, with
installation systems and slipstreaming.

Thank you. :)

I can't attach the files here (>256k), send me an email and I will send the
3 files. (original, packed, and unpacked)

remember@starbase.globalpc.net


Nobody/Anonymous ( nobody ) - 2007-07-23 00:52

5

Closed

Postponed

László Molnár

None

None

Public


Comments ( 11 )




Date: 2008-02-06 03:05
Sender: mfxProject Admin


FYI, there are currently no plans to enhance --exact beyond what's
implemented in UPX 3.02. This has both technical (high impact on source
code) and political (e.g. Anti-Virus vendor support) reasons.

Authors who really care about byte-identical versions should use the
one-time compress-decompress workaround mentioned in the docs.

~Markus



Date: 2008-02-05 09:31
Sender: ml1050Project Admin


Yes, UPX strips some unneeded information from the file it compresses (in
the case of PE format). This improves the compression ratio.

Laszlo


Date: 2008-02-04 21:03
Sender: neo_bahamut


Is the same information lost regardless of compression options?


Date: 2007-08-17 02:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2007-08-01 14:10
Sender: mfxProject Admin


There are currently no plans to enhance --exact beyond what's implemented
in UPX 3.01. This has both technical (high impact on source code) and
political (e.g. Anti-Virus vendor support) reasons.

Authors who really care should use the one-time compress-decompress
workaround mentioned in the docs.



Date: 2007-07-31 22:00
Sender: neo_bahamut


I see that UPX 3.01 will refuse to compress a w32 exe if given the --exact
switch (before DLLs were refused, but not EXEs). Good.

When is support for win32/pe planned?


Date: 2007-07-31 21:24
Sender: mfxProject Admin


Please have a look at the updated docs about --exact in UPX 3.01 - maybe
that workaround does suit your needs.


Date: 2007-07-30 18:27
Sender: nobody

Logged In: NO

I want to add that MD5 signatures of files before UPX compression and
after compress-uncompress sequence are not same.




Date: 2007-07-24 15:51
Sender: mfxProject Admin


We still need to add several throwCantPackExact() statements so that
people at least get warned that --exact does not for all formats as
expected.


Date: 2007-07-23 08:28
Sender: ml1050Project Admin


The --exact option is not yet supported by all formats. win32/PE is one
those. We've already added a comment about this into the documentation.

The bug is postponed.

Laszlo


Date: 2007-07-23 03:31
Sender: burning_shadow


I came here to report the same. I hope this will be fixed in next release.


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2007-08-17 02:20 sf-robot
close_date 2007-08-01 14:10 2007-08-17 02:20 sf-robot
status_id Open 2007-08-01 14:10 mfx
close_date - 2007-08-01 14:10 mfx
assigned_to nobody 2007-07-24 15:51 mfx
resolution_id None 2007-07-23 08:28 ml1050