László Molnár
|
07cba6c774
|
pe32: tls refactoring
|
2014-02-18 00:23:42 +01:00 |
|
László Molnár
|
9cb639b505
|
pe32: refactoring of import handling and unpacking continues
|
2014-02-16 23:04:39 +01:00 |
|
John Reiser
|
c0f692792f
|
2014
|
2014-01-10 19:23:41 -08:00 |
|
John Reiser
|
bd77e0945b
|
more LC_* constants
|
2014-01-10 19:22:30 -08:00 |
|
Markus F.X.J. Oberhumer
|
f0eb171b2a
|
Strip trailing whitespace.
|
2014-01-07 23:09:11 +01:00 |
|
Markus F.X.J. Oberhumer
|
fb93662b5c
|
Bump version for next release.
|
2014-01-07 23:08:00 +01:00 |
|
Markus F.X.J. Oberhumer
|
a26c982e93
|
Welcome 2014.
|
2014-01-07 23:05:10 +01:00 |
|
Markus F.X.J. Oberhumer
|
7db3e98944
|
Small cleanups.
|
2014-01-07 23:03:16 +01:00 |
|
Markus F.X.J. Oberhumer
|
4a87834e04
|
New ACC version.
|
2014-01-07 19:15:57 +00:00 |
|
Markus F.X.J. Oberhumer
|
bf6ecaeeb9
|
stub: minor cosmetic cleanups.
|
2013-12-02 19:37:28 +01:00 |
|
Markus F.X.J. Oberhumer
|
f70ef86dfa
|
help.cpp: add a missing con_fg() call.
|
2013-12-02 19:23:06 +01:00 |
|
John Reiser
|
cd3132667a
|
ARM shlib escape hatch moves to just beyond .text.
https://sourceforge.net/p/upx/bugs/223/
|
2013-11-22 19:26:19 -08:00 |
|
John Reiser
|
1c459a7bea
|
Sync stubs.
|
2013-11-16 14:29:52 -08:00 |
|
John Reiser
|
4f0bfeab4c
|
Round down unfilter length to a multiple of 4.
https://sourceforge.net/p/upx/bugs/223
|
2013-11-16 14:28:59 -08:00 |
|
John Reiser
|
c5c9921b59
|
Unpack detects is_shlib more robustly. Dispute .e_shoff.
|
2013-11-16 14:25:53 -08:00 |
|
John Reiser
|
6b63aba1fc
|
Disable jni_onload_*
|
2013-11-09 16:06:41 -08:00 |
|
John Reiser
|
382331fb11
|
e_phoff and e_shoff are 32/64 specific
|
2013-10-28 07:11:40 -07:00 |
|
John Reiser
|
caf9af7ae4
|
JNI_OnLoad is a pre-DT_INIT in a shared library.
|
2013-10-26 09:51:25 -07:00 |
|
John Reiser
|
45d2adeb9c
|
Android < 4.1 (kernel < 3.0.31) often has PT_INTERP of /system/bin/linker
with bad PT_LOAD[0]. https://sourceforge.net/p/upx/bugs/221
|
2013-10-21 07:27:53 -07:00 |
|
László Molnár
|
96708d7592
|
ImportLinker copied into PeFile
|
2013-10-12 16:48:56 +02:00 |
|
John Reiser
|
13090d1219
|
ARM close /proc/self/exe after mmap
|
2013-10-06 19:56:14 -07:00 |
|
László Molnár
|
8ab229cca9
|
pe: refactoring started
|
2013-10-06 22:57:20 +02:00 |
|
John Reiser
|
583cd078dc
|
ARM elf-fold: preserve /proc/self/exe by mmap of one page into stack
|
2013-10-06 13:22:05 -07:00 |
|
László Molnár
|
aa2ac1bbb8
|
pe: ImportLinker introduced
|
2013-10-04 22:48:21 +02:00 |
|
Markus F.X.J. Oberhumer
|
6766b14415
|
Prepare release.
|
2013-09-30 14:21:37 +02:00 |
|
John Reiser
|
9d0f9e967f
|
Avoid stmdb with write-back register in stored list,
even when stored value is don't care.
|
2013-09-21 09:52:21 -07:00 |
|
John Reiser
|
d7609088e5
|
Silence "warning: cannot find entry symbol _start"
|
2013-09-21 08:39:15 -07:00 |
|
Markus F.X.J. Oberhumer
|
b2643b6926
|
Start using the new intergral type names.
|
2013-09-20 08:19:18 +02:00 |
|
Markus F.X.J. Oberhumer
|
07b65ca069
|
Introduce integral type names using <stdint.h> terminology like "upx_uint64_t".
|
2013-09-20 08:16:37 +02:00 |
|
Markus F.X.J. Oberhumer
|
25727f7f99
|
Minor portability fixes.
|
2013-09-20 07:48:29 +02:00 |
|
Markus F.X.J. Oberhumer
|
880ae89307
|
Bump version and tentative release date.
|
2013-09-20 07:19:06 +02:00 |
|
Markus F.X.J. Oberhumer
|
1496df1989
|
New ACC version.
|
2013-09-20 07:09:35 +02:00 |
|
Markus F.X.J. Oberhumer
|
7d8ae6b4b1
|
Make amd64-win64.pep.S compile with current upx stubtools.
|
2013-09-20 07:08:09 +02:00 |
|
Markus F.X.J. Oberhumer
|
312d4cccaf
|
stub: start using stubtools bin-upx-20130920.
|
2013-09-20 06:59:27 +02:00 |
|
Markus F.X.J. Oberhumer
|
ce5f9f95ea
|
stub: fix i386 syntax for current gas versions, and add some explicit
alignments at the end of the file so that we do not depend on gas defaults.
|
2013-09-20 06:15:46 +02:00 |
|
Markus F.X.J. Oberhumer
|
d9bf8a76d9
|
Protect against changes from future gas versions in amd64-linux.elf-entry.S.
|
2013-09-20 05:22:05 +02:00 |
|
Markus F.X.J. Oberhumer
|
f7a35fb9fe
|
stub: save 1 byte in amd64-darwin.{dylib,macho}-entry.S.
|
2013-09-20 04:20:23 +02:00 |
|
Markus F.X.J. Oberhumer
|
3ba691ded5
|
Remove trailing whitespace.
|
2013-09-20 03:25:59 +02:00 |
|
Markus F.X.J. Oberhumer
|
7a7277d56f
|
Use correct "movzwl" opcode in src/stub/src/arch/i386/macros.S.
|
2013-09-20 03:18:19 +02:00 |
|
László Molnár
|
76be5dd1d3
|
linker: Section::offset should be u64
|
2013-09-01 21:38:44 +02:00 |
|
László Molnár
|
53dc63f3bc
|
linker: a small 64-bit relocation support related fix
|
2013-09-01 11:15:30 +02:00 |
|
László Molnár
|
80da0bc9d5
|
pepfile: infoWarning about unsupported relocation types fixed
|
2013-08-28 22:33:39 +02:00 |
|
László Molnár
|
bce7af4e11
|
fixed 8 bit range checking in ElfLinkerAMD64::relocate1
|
2013-08-28 22:31:40 +02:00 |
|
László Molnár
|
9da09b51ed
|
win64/pe: tls callback assembly improvements + misc cleanups
|
2013-08-28 21:53:23 +02:00 |
|
László Molnár
|
86392f197f
|
win64/pe: lzma support added
|
2013-08-28 00:24:54 +02:00 |
|
László Molnár
|
1c13046297
|
win64/pe: added nrv2b and nrv2d support
|
2013-08-27 22:06:52 +02:00 |
|
László Molnár
|
fbc756b531
|
win64/pe: filter support added
|
2013-08-27 21:22:21 +02:00 |
|
László Molnár
|
6c64b06453
|
win64/pe: uncompression seems to work; tls handling improvement
|
2013-08-26 22:07:55 +02:00 |
|
László Molnár
|
241834029a
|
64 relocation handling added; basic DLL support works
|
2013-08-25 23:54:13 +02:00 |
|
László Molnár
|
5b8a9c0b47
|
basic win64 PE support added
|
2013-08-22 22:01:09 +02:00 |
|
László Molnár
|
037c29d24a
|
added full support for 64-bit relocations
|
2013-08-22 21:43:11 +02:00 |
|
László Molnár
|
893f26ac9a
|
fix wcle fixup unpacking segfault (sf.net bug 220)
|
2013-08-19 13:39:44 +02:00 |
|
John Reiser
|
d43f8e3100
|
Alignment bug in test or decompress of shared library;
sourceforge.net/p/upx/bugs/218/
|
2013-07-06 13:50:15 -07:00 |
|
John Reiser
|
2b42acf7b8
|
ARM heuristic dcache flush by sweeping 1/2 MB
|
2013-06-10 14:20:59 -07:00 |
|
John Reiser
|
f65b80ed42
|
ARM remember readlink("/proc/self/exe",) as environment variable " =" (3 spaces)
|
2013-06-09 20:33:59 -07:00 |
|
John Reiser
|
e84abbdc82
|
ARM __clear_cache() has bugs
Linux hostname 3.0.8-482645-user #1 SMP PREEMPT Mon Apr 30 19:43:45 KST 2012 armv7l GNU/Linux
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 597.12
processor : 1
BogoMIPS : 597.12
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 3
Hardware : Espresso10
Revision : 000a
|
2013-06-09 13:03:06 -07:00 |
|
John Reiser
|
66269eabe9
|
ARM Try a hole so that kernel does not extend brk(0)
|
2013-06-08 08:39:08 -07:00 |
|
John Reiser
|
36c0928483
|
ARM __clear_cache() on escape hatch; http://sourceforge.net/p/upx/bugs/214/
|
2013-06-07 07:08:03 -07:00 |
|
John Reiser
|
9237e15adc
|
Fix ARM compress shared library.
|
2013-05-10 16:20:52 -07:00 |
|
Markus F.X.J. Oberhumer
|
0d3a2072b2
|
Add some more sanity checks in pefile.cpp.
|
2013-04-04 14:30:52 +02:00 |
|
Markus F.X.J. Oberhumer
|
aa2ee5dfc2
|
New ACC version.
|
2013-03-20 16:48:27 +00:00 |
|
John Reiser
|
b515fa39ec
|
Apple codesign follies: need more flags
|
2013-03-07 19:47:44 -08:00 |
|
Markus F.X.J. Oberhumer
|
76e3f4eb92
|
Post-release version bump.
|
2013-02-20 13:50:12 +01:00 |
|
Markus F.X.J. Oberhumer
|
7082594bbc
|
Prepare release.
|
2013-02-18 11:03:33 +01:00 |
|
Markus F.X.J. Oberhumer
|
36dd35f238
|
Silence some compilation warnings.
|
2013-02-18 11:01:30 +01:00 |
|
John Reiser
|
9c9fb6a485
|
DEBUG-only bug in decimal()
|
2013-02-15 16:35:45 -08:00 |
|
John Reiser
|
5438a4837b
|
more AT_PHDR trouble
|
2013-02-15 16:32:51 -08:00 |
|
Markus F.X.J. Oberhumer
|
84996e8cb6
|
Bump tentative release date.
|
2013-02-12 10:32:11 +01:00 |
|
Markus F.X.J. Oberhumer
|
87a368a857
|
Welcome 2013.
|
2013-02-12 10:14:03 +01:00 |
|
Markus F.X.J. Oberhumer
|
21412d93dd
|
New ACC version.
|
2013-02-12 08:16:44 +00:00 |
|
John Reiser
|
0b11ff22b4
|
internal documentation: pointer to source for Apple codesign
|
2013-02-03 11:27:02 -08:00 |
|
John Reiser
|
8fafa78796
|
sync stubs
|
2013-01-31 12:33:16 -08:00 |
|
John Reiser
|
c43158f8a2
|
find PT_LOAD in case ARM PT_EXIDX is first
|
2013-01-31 12:21:51 -08:00 |
|
John Reiser
|
92ad524947
|
clear registers at user entry (paranoia)
|
2013-01-31 12:20:42 -08:00 |
|
John Reiser
|
b362a61863
|
fix for user brk() on ARM with static linking
|
2013-01-31 12:19:35 -08:00 |
|
John Reiser
|
468fec38d7
|
Fix .e_ident[EI_OSABI] for Debian armhf.
|
2013-01-30 13:31:35 -08:00 |
|
John Reiser
|
89830a5ae0
|
Mac OS X codesign disallows overhang of vmsize.
|
2013-01-25 15:58:25 -08:00 |
|
John Reiser
|
5977c296bd
|
Fix codesign for Mac OS X.
|
2013-01-24 15:28:21 -08:00 |
|
Markus F.X.J. Oberhumer
|
25d706a913
|
Whitespace cleanup.
|
2012-10-31 15:50:52 +01:00 |
|
John Reiser
|
048236aaaa
|
Isolate change to p_mach.cpp of previous revision
(p_lx_elf.cpp and p_lx_elf.h were included by mistake.)
|
2012-10-10 08:58:15 -07:00 |
|
John Reiser
|
d442c58fd1
|
MachO no longer needs contiguous LC_SEGMENT (SourceForge bug 3308161)
|
2012-10-10 08:51:52 -07:00 |
|
John Reiser
|
f890f6bb09
|
ignore another .vmsize==0; fix unfold which needs another page
|
2012-08-23 14:26:42 -07:00 |
|
John Reiser
|
036d466790
|
allow 3-byte decompressor overrun; fix DEBUG decimal(); unify with i386
|
2012-08-23 14:25:32 -07:00 |
|
John Reiser
|
dee47ba2d8
|
implement DEBUG
|
2012-08-23 14:22:55 -07:00 |
|
John Reiser
|
be96c28b77
|
fix DEBUG decimal() of negative number
|
2012-08-23 12:37:44 -07:00 |
|
John Reiser
|
ad1c0f578e
|
fix DEBUG decimal() of negative number
|
2012-08-23 07:31:30 -07:00 |
|
John Reiser
|
c8f7b1b72c
|
MacOSX launcher gets SIGBUS when it cannot find mapped Mach_header.
Add segZERO, segMHDR, secMHDR.
|
2012-08-22 20:46:35 -07:00 |
|
John Reiser
|
c89702ae84
|
skip 0==.vmsize; also DEBUG, DPRINTF
|
2012-08-22 20:43:00 -07:00 |
|
John Reiser
|
2d29a82250
|
PackMachBase<T>::pack1() segTEXT.vmaddr must ignore zero-length segments
|
2012-08-20 20:02:26 -07:00 |
|
John Reiser
|
b36c65e654
|
fix Mac OS X code signing; also leave room for LC_UUID
|
2012-08-04 16:44:21 -07:00 |
|
John Reiser
|
09b072b908
|
Leave space for code signing on Mac OS X.
|
2012-08-03 13:28:33 -07:00 |
|
John Reiser
|
0ae9fee350
|
Mach_linkedit_data_command
|
2012-08-03 13:20:00 -07:00 |
|
John Reiser
|
1579182ed9
|
PackUnix::canUnpack() allows zero-filled last page
|
2012-08-03 13:19:28 -07:00 |
|
John Reiser
|
074671aa71
|
::unpack "if (fo)"; also "delete []" (SourceForge bug 3545609)
|
2012-07-19 20:11:44 -07:00 |
|
John Reiser
|
36b7c47247
|
__DWARF LC_SEGMENT_64 with .vmsize==0 (SourceForge bug 3308161)
|
2012-07-18 15:37:41 -07:00 |
|
John Reiser
|
8a5d352733
|
Portability: fix "EOFException: premature end of file" doing ELF on Windows.
OutputFile::read() was bad news; fsync() should work, but was missing.
|
2012-07-12 14:25:28 -07: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 |
|
John Reiser
|
a6d717cb04
|
big endian, too: ARM Linux EABI version 4 and 5 is a mess
|
2012-07-07 07:45:51 -07:00 |
|
Markus F.X.J. Oberhumer
|
84a5753301
|
New ACC version.
|
2012-05-31 16:08:14 +00:00 |
|
Markus F.X.J. Oberhumer
|
5d2d9c7e81
|
Update .hgignore. Update valgrind macros.
|
2012-04-26 09:05:35 +02:00 |
|