Mail Archives: djgpp/2008/03/28/17:45:12
Hi,
On Mar 28, 3:44 am, Robert Riebisch <Robert DOT Riebi DOT DOT DOT AT arcor DOT de> wrote:
>
> Ah, thanks! :-) Can you reproduce the problem, when you pack your
> recompiled binaries with UPX 3.01?
If I try running the broken binary under DOSBox with latest HDPMI32,
it gives me the following:
[EIP]=0F 45 C1 66 A3 18 32 0A 00 0F B6 5D
... which, run through HIEW, says this:
00000000: 0F45C1 cmovne
ax,cx
And that is clearly not supported on my 486, P166 (no MMX), nor in
DOSBox (486DX). Maybe Gordon (who did the /beta/ port, right?) has a
P2 and wanted the extra runtime speed from "-march" optimizations?? I
dunno, only guessing.
For the AS-NEW.EXE that I rebuilt yesterday, I tried a lot of
compression options for both UPX 3.01 and 3.02 (DOS version), and no
problems running under DOSBox 0.72. (No compression differences b/w
UPX 3.01 for DJGPP stuff and 3.02, only an internal version variable
difference:
[ WinXP ] Fri 03/28/2008>fc ultbrute.ex ultbrute.exe /b | more
Comparing files ultbrute.ex and ULTBRUTE.EXE
00000905: 31 32
I also did a quick grep in UPX 3.01's sources and found no mentions of
CMOV, so it must be a DJGPP port issue (although UPX was strangely
able to unpack all of these 2.04 .EXEs, so who knows). So, this issue
is probably not a direct UPX bug, AFAICT.
- Raw text -