John Reiser
|
890d66ecf0
|
Avoid overlap when rebuild relocs.
Based on a hint from a little bird.
modified: packer.cpp
|
2020-09-20 15:08:39 -07:00 |
|
Markus F.X.J. Oberhumer
|
d1174385ef
|
Welcome 2020.
|
2020-01-08 04:13:28 +01:00 |
|
Markus F.X.J. Oberhumer
|
3667fa4e44
|
Welcome 2019.
|
2019-02-15 11:04:09 +01:00 |
|
John Reiser
|
1bee919276
|
cosmetic: developer quality-of-life
modified: packer.cpp
|
2018-10-09 19:35:03 -07:00 |
|
Markus F.X.J. Oberhumer
|
9248f02557
|
Silence some gcc-8-snapshot compiler warnings.
|
2018-01-19 14:13:58 +01:00 |
|
Markus F.X.J. Oberhumer
|
021c8db58a
|
Welcome 2018.
|
2018-01-19 10:55:32 +01:00 |
|
Markus F.X.J. Oberhumer
|
69355514c9
|
Fix some misspellings.
|
2017-07-22 12:54:37 +02:00 |
|
John Reiser
|
3c8ed5c000
|
Fix typo under "#if 0"
modified: packer.cpp
|
2017-06-10 22:11:04 -07:00 |
|
Markus F.X.J. Oberhumer
|
b5bdf57636
|
Minor cleanups.
|
2017-05-14 19:21:04 +02:00 |
|
Markus F.X.J. Oberhumer
|
7ebed06393
|
Fix building with recent djgpp2 gcc-6 version.
|
2017-05-03 13:21:08 +02:00 |
|
Markus F.X.J. Oberhumer
|
c4da5e81fa
|
Welcome 2017.
|
2017-01-03 12:02:07 +01:00 |
|
Markus F.X.J. Oberhumer
|
ed900b0476
|
More thorough use of O_BINARY.
|
2016-10-07 15:04:12 +02:00 |
|
Markus F.X.J. Oberhumer
|
f7554374ab
|
Update email address.
|
2016-09-28 12:25:01 +02:00 |
|
Markus F.X.J. Oberhumer
|
361958db76
|
Check endian in assertPacker().
|
2016-09-26 15:38:04 +02:00 |
|
Markus F.X.J. Oberhumer
|
6f33929f91
|
Cleanups.
|
2016-09-24 12:10:46 +02:00 |
|
Markus F.X.J. Oberhumer
|
83828aa8a3
|
Update vim modelines.
|
2016-09-22 17:29:43 +02:00 |
|
Markus F.X.J. Oberhumer
|
96d9968db5
|
Welcome 2016.
|
2016-09-22 14:07:14 +02:00 |
|
Markus F.X.J. Oberhumer
|
763b3c05af
|
Don't use "long". Cleanups.
|
2016-09-22 00:47:35 +02:00 |
|
Markus F.X.J. Oberhumer
|
a7fd742c17
|
Canonicalize the names of our executable formats.
|
2016-09-21 23:58:08 +02:00 |
|
Markus F.X.J. Oberhumer
|
3bb654cc85
|
Ongoing cleanups and cruft removal.
|
2016-09-21 16:42:25 +02:00 |
|
Markus F.X.J. Oberhumer
|
7af6c4b10e
|
Use new style casts. Cleanups.
|
2016-09-20 20:59:34 +02:00 |
|
Markus F.X.J. Oberhumer
|
d14f484c4b
|
Moving to github.
|
2016-09-19 22:41:32 +02:00 |
|
John Reiser
|
01a0c8672d
|
changeset: 2451:4e2a6c33d5fb
tag: ppc64le
user: Thierry Fauck <tfauck@free.fr>
date: Wed Jun 22 08:25:13 2016 -0400
summary: Add support for ppc64le statically linked binaries
|
2016-07-26 17:00:25 -07:00 |
|
John Reiser
|
8c0321697f
|
Check PackHeader before decompress; CERT-FI id:000002,sig:06,src:000000,op:flip1,pos:4629
|
2015-05-08 20:13:44 -07:00 |
|
Markus F.X.J. Oberhumer
|
fb611a98f9
|
Welcome 2015.
|
2015-01-03 00:24:07 +01:00 |
|
Markus F.X.J. Oberhumer
|
a26c982e93
|
Welcome 2014.
|
2014-01-07 23:05:10 +01:00 |
|
László Molnár
|
241834029a
|
64 relocation handling added; basic DLL support works
|
2013-08-25 23:54:13 +02:00 |
|
Markus F.X.J. Oberhumer
|
87a368a857
|
Welcome 2013.
|
2013-02-12 10:14:03 +01:00 |
|
John Reiser
|
f383629282
|
compressWithFilters(..., inhibit_compression_check=0) // SourceForge bug 3541020
Not good to check compression ratio on every block when blocksize < file_size,
as when --force_execve of Elf > 0x80000 bytes.
|
2012-07-12 07:04:56 -07:00 |
|
Markus F.X.J. Oberhumer
|
82801d1411
|
Fix some typos in documentation and comments.
|
2012-03-27 02:14:03 +02:00 |
|
Markus F.X.J. Oberhumer
|
43ce34d547
|
Welcome 2012.
|
2012-01-01 22:35:11 +01:00 |
|
Markus F.X.J. Oberhumer
|
9bf2b79d9e
|
Enter 2011.
|
2011-01-03 08:49:23 +01:00 |
|
Markus F.X.J. Oberhumer
|
0aff9d8df4
|
Use consistent syntax for boolean preprocessor expressions.
|
2010-08-08 16:20:16 +02:00 |
|
Markus F.X.J. Oberhumer
|
6bc3197721
|
Enter 2010.
|
2010-02-06 17:15:49 +01:00 |
|
Markus F.X.J. Oberhumer
|
5ed689ceb0
|
Enter 2009.
|
2008-12-31 17:07:18 +01:00 |
|
Markus F.X.J. Oberhumer
|
d54f947c98
|
Add Packer::hasLoaderSection() to handle missing CFLUSH sections.
|
2008-04-07 18:44:00 +02:00 |
|
Markus F.X.J. Oberhumer
|
6ff1bd5917
|
Update my email address.
|
2008-01-02 10:12:42 +01:00 |
|
Markus F.X.J. Oberhumer
|
fa49dbe2cb
|
Enter 2008.
|
2008-01-02 09:42:31 +01:00 |
|
Markus F.X.J. Oberhumer
|
984549400d
|
Clean up various names in getFullName().
|
2007-06-12 14:25:00 +02:00 |
|
Markus F.X.J. Oberhumer
|
40e19293f9
|
Added throwOutOfMemoryException().
|
2007-05-08 15:28:35 +02:00 |
|
Markus F.X.J. Oberhumer
|
747e8370e0
|
Remove debug leftover.
|
2007-04-26 16:20:01 +02:00 |
|
Markus F.X.J. Oberhumer
|
2c67875781
|
Pass and verify original data in all xxx_test_overlap() functions.
|
2007-04-26 16:15:49 +02:00 |
|
Markus F.X.J. Oberhumer
|
c96e8a8c19
|
Better underflow and overflow handling in Packer::findOverlapOverhead().
|
2007-04-26 13:59:01 +02:00 |
|
John Reiser
|
465307655b
|
Implement real upx_lzma_test_overlap().
Also make Packer::findOverlapOverhead() more pessimistic in worst case.
|
2007-04-25 16:11:33 -07:00 |
|
Markus F.X.J. Oberhumer
|
c11e0d02b3
|
Added parm "allow_incompressible" to Packer::{get,read}PackHeader().
|
2007-04-25 17:33:39 +02:00 |
|
John Reiser
|
6934bdd533
|
allow unpack of incompressible extents, such as
http://www.equi4.com/pub/tk/8.4.13/tclkit-linux-x86.gz
|
2007-04-25 07:34:24 -07:00 |
|
Markus F.X.J. Oberhumer
|
398fd8028c
|
Spelling fixes.
|
2007-03-04 17:39:21 +01:00 |
|
Markus F.X.J. Oberhumer
|
bdd0daaf6f
|
Added ElfLinker::addLoaderVA().
|
2007-02-20 07:36:34 +01:00 |
|
John Reiser
|
a545a3938f
|
FileBase::set_extent(offset, length) constrains seek() and tell()
|
2007-02-03 13:31:44 -08:00 |
|
László Molnár
|
8f7c898c08
|
use an exception instead of assert() for overlay checking (bug #1624840)
|
2007-01-16 12:58:35 +01:00 |
|
Markus F.X.J. Oberhumer
|
5e83596a1b
|
Enter 2007.
|
2007-01-14 13:08:58 +01:00 |
|
Markus F.X.J. Oberhumer
|
6361213e07
|
More portability fixes.
|
2007-01-14 12:47:38 +01:00 |
|
Markus F.X.J. Oberhumer
|
0b988176fa
|
Portability fixes.
|
2007-01-10 17:16:59 +01:00 |
|
John Reiser
|
392e803905
|
vmlinux/AMD64 works
|
2007-01-07 16:31:46 -08:00 |
|
Markus F.X.J. Oberhumer
|
d221187f24
|
Misc cosmetical cleanups.
|
2006-12-22 12:36:55 +01:00 |
|
Markus F.X.J. Oberhumer
|
217420cfa5
|
Also verifyOverlappingDecompression() for watcom/le.
|
2006-12-06 12:20:22 +01:00 |
|
Markus F.X.J. Oberhumer
|
f2b9dff596
|
More work so that watom/le now uses compressWithFilters().
|
2006-12-06 11:08:32 +01:00 |
|
Markus F.X.J. Oberhumer
|
ae945ed315
|
Clean up help and avoid using backticks as quoting chars.
|
2006-12-06 08:11:55 +01:00 |
|
Markus F.X.J. Oberhumer
|
29c4a7e606
|
Remove debugging leftover.
|
2006-12-06 07:34:57 +01:00 |
|
Markus F.X.J. Oberhumer
|
8875470b37
|
Refactored compressWithFilters().
|
2006-12-06 07:27:23 +01:00 |
|
Markus F.X.J. Oberhumer
|
1d0d538d0c
|
Added new option '--ultra-brute'.
|
2006-12-01 02:47:46 +01:00 |
|
Markus F.X.J. Oberhumer
|
83052eafae
|
Minor cleanups.
|
2006-12-01 00:57:03 +01:00 |
|
Markus F.X.J. Oberhumer
|
fa95c3c4a2
|
Display full format name with --fileinfo.
|
2006-11-30 23:34:19 +01:00 |
|
Markus F.X.J. Oberhumer
|
826312cbad
|
Show all supported formats in show_help().
|
2006-11-30 23:17:22 +01:00 |
|
Markus F.X.J. Oberhumer
|
2569b09dbe
|
Added debugging option --disable-random-id.
|
2006-11-21 18:17:51 +01:00 |
|
Markus F.X.J. Oberhumer
|
5d71e69941
|
Added two checks for throwCantPackExact.
|
2006-11-21 18:01:16 +01:00 |
|
Markus F.X.J. Oberhumer
|
a050f82f0e
|
Implemented the remaining missing pieces of compress_zlib.
|
2006-11-21 17:19:24 +01:00 |
|
Markus F.X.J. Oberhumer
|
c386db2b33
|
Small cosmetic changes.
|
2006-11-21 05:01:54 +01:00 |
|
Markus F.X.J. Oberhumer
|
a6cb6f57d3
|
Introduce Packer::relocateLoader(). This is the first step of finally getting
rid of all Packer::patchXXX() methods.
|
2006-11-20 18:10:23 +01:00 |
|
Markus F.X.J. Oberhumer
|
2f483ec8e8
|
Fix compression ratio check.
|
2006-11-20 13:48:34 +01:00 |
|
Markus F.X.J. Oberhumer
|
05d03f97fc
|
Introduce Packer::bele.
|
2006-11-20 12:01:59 +01:00 |
|
Markus F.X.J. Oberhumer
|
03e891c0e8
|
Remove implicit magic from OptVar copy operator and introduce oassign()
function instead.
|
2006-11-20 11:04:31 +01:00 |
|
Markus F.X.J. Oberhumer
|
4dfe9d52e9
|
Don't be too strict when checking the compression ratio (sf.net
feature request #1596111).
|
2006-11-20 09:40:46 +01:00 |
|
Markus F.X.J. Oberhumer
|
ffe1287016
|
Added option '--cpr-lzma-ds=XX'.
|
2006-11-19 18:50:35 +01:00 |
|
Markus F.X.J. Oberhumer
|
d9e8c953b1
|
Fixed some ElfLinker endian issues.
|
2006-11-18 17:43:29 +01:00 |
|
Markus F.X.J. Oberhumer
|
db7ae4ed5d
|
Improve Packer:addLoader(). We're still somewhat limited because of gcc-bug
#29823 (see http://gcc.gnu.org/PR29823).
|
2006-11-16 18:52:20 +01:00 |
|
Markus F.X.J. Oberhumer
|
be235ddc38
|
Removed unused Packer::freezeLoader(). Changed return type of
buildLoader() from "int" to "void".
|
2006-11-12 20:57:08 +01:00 |
|
Markus F.X.J. Oberhumer
|
a74e239e28
|
Major cleanup of ElfLinker.
|
2006-11-12 10:57:18 +01:00 |
|
Markus F.X.J. Oberhumer
|
91e46e3cf8
|
Small cleanups.
|
2006-11-07 13:43:43 +01:00 |
|
Markus F.X.J. Oberhumer
|
b31b8cd7f0
|
Added option '--crp-lzma-fb='. Started tuning lzma compression
levels '-1' and '-2'.
|
2006-10-12 14:23:22 +02:00 |
|
Markus F.X.J. Oberhumer
|
0ef3f75d7a
|
Introduced class OptVar for tracking optionally set options. Also
added three new options for finetuning lzma compression.
|
2006-10-12 13:47:15 +02:00 |
|
Markus F.X.J. Oberhumer
|
9f20ddc800
|
Removed Packer::patchVersion() and Packer::patchVersionYear().
|
2006-08-21 20:28:14 +02:00 |
|
Markus F.X.J. Oberhumer
|
6f1cc2c1e5
|
Renamed ElfLinker::addSection(sname) to addLoader().
|
2006-08-21 20:07:42 +02:00 |
|
Markus F.X.J. Oberhumer
|
601cd95277
|
Removed Packer::getIdentstr().
|
2006-08-21 19:57:43 +02:00 |
|
Markus F.X.J. Oberhumer
|
996a99ad75
|
Some linker.cpp cleanups.
|
2006-08-20 11:15:36 +02:00 |
|
Markus F.X.J. Oberhumer
|
03ce7a8db3
|
Removed all old linker classes - we exclusively use ElfLinker now.
|
2006-08-19 14:00:22 +02:00 |
|
John Reiser
|
b34e204676
|
PackLinuxElf32ppc conversion; alignment in *::Section
|
2006-07-16 15:04:16 -07:00 |
|
John Reiser
|
6602f30112
|
true==checkCompressionRatio() means success
|
2006-06-29 12:07:01 -07:00 |
|
Markus F.X.J. Oberhumer
|
7b77491c06
|
Refactoring: move fields ui_pass and ui_total_passes from class
Packer into class UiPacker.
|
2006-06-29 14:37:01 +02:00 |
|
Markus F.X.J. Oberhumer
|
8ab3e63aeb
|
First start of refactoring field ph out of class Packer.
|
2006-06-29 14:26:49 +02:00 |
|
Markus F.X.J. Oberhumer
|
930f07d15e
|
Move upx_compress_result_t handling into right place.
|
2006-06-29 06:24:24 +02:00 |
|
Markus F.X.J. Oberhumer
|
66df7389d2
|
Refactoring: pass upx_compress_config_t to Packer::compressWithFilters()
so that formats can set conf_lzma.max_num_probs.
Also renamed compression parameters to use cconf & cresult.
|
2006-06-29 06:15:28 +02:00 |
|
Markus F.X.J. Oberhumer
|
7e1d9bc768
|
Split options_t::crp into multiple structs.
|
2006-06-23 16:23:31 +02:00 |
|
Markus F.X.J. Oberhumer
|
fe057a91c8
|
Cleanup: removed upx_bool and upx_uint types.
|
2006-06-23 15:00:33 +02:00 |
|
Markus F.X.J. Oberhumer
|
bf5cbfffc2
|
Start major refactoring.
|
2006-06-19 19:20:50 +02:00 |
|
Markus F.X.J. Oberhumer
|
c3ee14eb67
|
Introduced upx_compress_result_t.
|
2006-06-11 12:09:25 +02:00 |
|
Markus F.X.J. Oberhumer
|
f1ba0c0aa7
|
More lzma stuff.
|
2006-06-09 18:36:53 +02:00 |
|
Markus F.X.J. Oberhumer
|
a9e4526a6d
|
Rearranged compression interface.
|
2006-06-09 09:28:32 +02:00 |
|
Markus F.X.J. Oberhumer
|
34ae413607
|
Initial lzma support.
|
2006-06-07 04:42:15 +02:00 |
|
Markus F.X.J. Oberhumer
|
3272d23917
|
Renamed variable hdr_clen to hdr_c_len.
|
2006-05-20 13:44:36 +02:00 |
|