flat assembler
Message board for the users of flat assembler.

Index > Windows > Masm & UPX error

Author
Thread Post new topic Reply to topic
dacid



Joined: 31 Aug 2008
Posts: 57
dacid 03 Sep 2008, 08:16
have a problem compressing my MASM projects with UPX. About 80% give me "NotCompressibleException"...

What im using:

Windows Vista SP1 (x64)
Microsoft (R) Macro Assembler Version 6.14.8444
Microsoft (R) Incremental Linker Version 5.12.8078
UPX 3.03w

How im using it:

c:\masm32\bin\ml /c /coff /Cp /Ic:\masm32\include Project.asm
c:\masm32\bin\Link /SUBSYSTEM:CONSOLE /LIBPATH:c:\masm32\lib Project.obj
c:\upx\upx Project.exe

Quote:


Ultimate Packer for eXecutables
Copyright (C) 1996 - 2008
UPX 3.03w Markus Oberhumer, Laszlo Molnar & John Reiser Apr 27th 2008

File size Ratio Format Name
-------------------- ------ ----------- -----------
upx: Project.exe: NotCompressibleException

Packed 1 file: 0 ok, 1 error.



Same with "-f" or "--force" ... any ideas?
Post 03 Sep 2008, 08:16
View user's profile Send private message Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 03 Sep 2008, 09:10
Too small programs can't be compressed with UPX.
Post 03 Sep 2008, 09:10
View user's profile Send private message Visit poster's website Reply with quote
dacid



Joined: 31 Aug 2008
Posts: 57
dacid 03 Sep 2008, 13:38
yes, seems that files under 4k cant be compressed with upx.
Post 03 Sep 2008, 13:38
View user's profile Send private message Reply with quote
dxl



Joined: 17 Sep 2005
Posts: 16
dxl 03 Sep 2008, 15:48
Probably you can decrease the size of your executable: using one pe section for example, i doubt it's containing 4k of code and data.
Put your uninitialized data at the end of your program
Post 03 Sep 2008, 15:48
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3174
Location: Denmark
f0dder 04 Sep 2008, 23:21
For compression tiny executables, have a look at crinkler.
Post 04 Sep 2008, 23:21
View user's profile Send private message Reply with quote
dacid



Joined: 31 Aug 2008
Posts: 57
dacid 05 Sep 2008, 12:50
thx
Post 05 Sep 2008, 12:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.