Hi!

21-Авг-2006 18:33 Arkady V.Belousov wrote to
[email protected]:

AVB> -  Min/max memory to allocate: 0009/FFFFh (9/65535 para)
AVB> +  Min/max memory to allocate: 0430/FFFFh (1072/65535 para)
>>-     Required memory to load: 000041B0h (16816 bytes)
>>+     Required memory to load: 00004540h (17728 bytes)
AVB> The more so, even for plain .EXE UPX requires more memory, than originally
AVB> (17728 bytes instead 16816 bytes)!

     Sorry, second statement is not completely correct. If we increase
required dynamic memory (for example, by using ".stack 12800" instead
".stack 128"), then result is not so worser:

-  Min/max memory to allocate: 0321/FFFFh (801/65535 para)
+  Min/max memory to allocate: 0710/FFFFh (1808/65535 para)
-     Required memory to load: 00007330h (29488 bytes)
+     Required memory to load: 00007340h (29504 bytes)

This is because, there should be space for unpacker code itself, and in
original example there is not enough space for it (9 para of dynamic
memory). When requested dynamic memory is enough to fit unpacker, then
result is better. Unfortunately, anyway not ideal (required 16 bytes more,
than original).

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to