Commit Graph

40 Commits

Author SHA1 Message Date
Markus F.X.J. Oberhumer 4a142f35f5 Renamed MemBuffer::free() to dealloc() in order to better support
malloc debugging libraries like mpatrol.

committer: mfx <mfx> 983109777 +0000
2001-02-25 14:02:57 +00:00
Markus F.X.J. Oberhumer 6a95c11cf9 Updated from UPX 1.07 release.
committer: mfx <mfx> 982687495 +0000
2001-02-20 16:44:55 +00:00
Markus F.X.J. Oberhumer 8675f378b6 Small cleanups - no functional changes.
committer: mfx <mfx> 981586753 +0000
2001-02-07 22:59:13 +00:00
László Molnár 79aff4c12d Corrected tls callback handling.
Fixed a rare bug in relocation handling.
Filters need an addvalue for this format.
Experimental fix for SizeOfHeaders > 0x1000.
Check for superfluous data between sections.

committer: ml1050 <ml1050> 981241024 +0000
2001-02-03 22:57:04 +00:00
Markus F.X.J. Oberhumer 2a55ac04ce Disable TLS callback check for now.
committer: mfx <mfx> 980615053 +0000
2001-01-27 17:04:13 +00:00
Markus F.X.J. Oberhumer 7371c219b1 Updated from 1.05 release.
committer: mfx <mfx> 980367939 +0000
2001-01-24 20:25:39 +00:00
László Molnár d5dd445a06 refuse compressing files which have tls callbacks
committer: ml1050 <ml1050> 980113870 +0000
2001-01-21 21:51:10 +00:00
Markus F.X.J. Oberhumer f96955b9f0 Updated my email address.
committer: mfx <mfx> 978625825 +0000
2001-01-04 16:30:25 +00:00
Markus F.X.J. Oberhumer 7766b08f08 Cleanups.
committer: mfx <mfx> 978563615 +0000
2001-01-03 23:13:35 +00:00
Markus F.X.J. Oberhumer 572082ac2b Implemented Packer::verifyOverlappingDecompression().
committer: mfx <mfx> 978465508 +0000
2001-01-02 19:58:28 +00:00
Markus F.X.J. Oberhumer aa540f85fa Big merge of my working tree: Added options `--all-methods', new
Packer::getCompressionMethods(), improved Packer::compressWithFilters().

committer: mfx <mfx> 978449945 +0000
2001-01-02 15:39:05 +00:00
Markus F.X.J. Oberhumer a8177201ef Added new field PackHeader::overlap_overhead.
committer: mfx <mfx> 978190533 +0000
2000-12-30 15:35:33 +00:00
Markus F.X.J. Oberhumer c0bbc2216e Always call buildLoader() directly after compress().
committer: mfx <mfx> 978181874 +0000
2000-12-30 13:11:14 +00:00
Markus F.X.J. Oberhumer 0b01be7b29 Consistency cleanups.
committer: mfx <mfx> 978180862 +0000
2000-12-30 12:54:22 +00:00
Markus F.X.J. Oberhumer 82698fb4b0 Enabled compressWithFilters(). Added some assertions.
committer: mfx <mfx> 978108380 +0000
2000-12-29 16:46:20 +00:00
Markus F.X.J. Oberhumer 85920ea8b1 Use the new macro COMPILE_TIME_ASSERT() instead of several assert().
committer: mfx <mfx> 978092937 +0000
2000-12-29 12:28:57 +00:00
Markus F.X.J. Oberhumer 1e1a078808 Cleaned up Packer::readPackHeader().
committer: mfx <mfx> 977342419 +0000
2000-12-20 20:00:19 +00:00
Markus F.X.J. Oberhumer fa772703d4 Prepared for 1.10 release.
committer: mfx <mfx> 977233750 +0000
2000-12-19 13:49:10 +00:00
Markus F.X.J. Oberhumer 77b63fdbe9 Fixed a parameter in call to patchFilter32().
committer: mfx <mfx> 977048371 +0000
2000-12-17 10:19:31 +00:00
Markus F.X.J. Oberhumer cb7b0e93cf Changed the parameter list of Packer::patchFilter32(), for consisitency
with the other patch and filter methods.

committer: mfx <mfx> 976879665 +0000
2000-12-15 11:27:45 +00:00
László Molnár afcbf46519 patchFilter32 added.
committer: ml1050 <ml1050> 976877022 +0000
2000-12-15 10:43:42 +00:00
Markus F.X.J. Oberhumer 8ef3beb6c6 Added Packer::checkFinalCompressionRatio().
committer: mfx <mfx> 976775892 +0000
2000-12-14 06:38:12 +00:00
Markus F.X.J. Oberhumer c6481575f9 Rewrote PackHeader handling. In particuliar, Packer::putPackHeader()
was renamed to patchPackHeader(), and it is now under control of
the usual checkPatch() patch-order.

committer: mfx <mfx> 976601615 +0000
2000-12-12 06:13:35 +00:00
Markus F.X.J. Oberhumer b2e0f807f2 All find*() and patch*() routines now return the buffer offset as an `int'.
committer: mfx <mfx> 976592518 +0000
2000-12-12 03:41:58 +00:00
Markus F.X.J. Oberhumer b3411ff0c6 Moved some string support functions from p_w32pe.cpp to util.h.
committer: mfx <mfx> 976588093 +0000
2000-12-12 02:28:13 +00:00
László Molnár 2afc76f0e9 fixed a rare bug in the relocation handling code.
committer: ml1050 <ml1050> 976488481 +0000
2000-12-10 22:48:01 +00:00
Markus F.X.J. Oberhumer f26380b110 Added some debug print statements.
committer: mfx <mfx> 975558043 +0000
2000-11-30 04:20:43 +00:00
Markus F.X.J. Oberhumer 2e6c03690f Swapped the parameters in Packer::checkCompressionRatio() - all functions
now have the uncompressed size before the compressed size in the
parameter list.

committer: mfx <mfx> 974917952 +0000
2000-11-22 18:32:32 +00:00
Markus F.X.J. Oberhumer 3be1f60c59 Disabled compressWithFilters() for now.
committer: mfx <mfx> 974490371 +0000
2000-11-17 19:46:11 +00:00
Markus F.X.J. Oberhumer 7a9bcb10ef Use compressWithFilters().
committer: mfx <mfx> 974485324 +0000
2000-11-17 18:22:04 +00:00
Markus F.X.J. Oberhumer abc15a398c Updated the file headers.
committer: mfx <mfx> 974118160 +0000
2000-11-13 12:22:40 +00:00
Markus F.X.J. Oberhumer e6d847b8e0 Finally really fixed the compress-icons logic.
committer: mfx <mfx> 968848523 +0000
2000-09-13 12:35:23 +00:00
Markus F.X.J. Oberhumer 3fb744b7e9 Reverted my last patch.
committer: mfx <mfx> 968824700 +0000
2000-09-13 05:58:20 +00:00
Markus F.X.J. Oberhumer 559af47a23 Rewrote the compress-icon fix to be less confusing.
committer: mfx <mfx> 968823731 +0000
2000-09-13 05:42:11 +00:00
Markus F.X.J. Oberhumer d9248a58af Small compress-icons fix from Laszlo.
committer: mfx <mfx> 968822264 +0000
2000-09-13 05:17:44 +00:00
Markus F.X.J. Oberhumer 075461e4ff Throw an exception in case of bad header.
committer: mfx <mfx> 968541141 +0000
2000-09-09 23:12:21 +00:00
László Molnár 8c7835fd33 Better check for hacked upx headers in canUnpack().
committer: ml1050 <ml1050> 965602273 +0000
2000-08-06 22:51:13 +00:00
Markus F.X.J. Oberhumer 3980081a5a Some cleanups.
committer: mfx <mfx> 962208107 +0000
2000-06-28 16:01:47 +00:00
Markus F.X.J. Oberhumer 87a1b66847 Added stricter header check during unpacking.
committer: mfx <mfx> 962126470 +0000
2000-06-27 17:21:10 +00:00
convert-repo 1a9128a473 Initial commit (from git) 2000-05-19 16:04:55 +00:00