Markus F.X.J. Oberhumer
|
a26c982e93
|
Welcome 2014.
|
2014-01-07 23:05:10 +01:00 |
|
Markus F.X.J. Oberhumer
|
b2643b6926
|
Start using the new intergral type names.
|
2013-09-20 08:19:18 +02:00 |
|
John Reiser
|
b515fa39ec
|
Apple codesign follies: need more flags
|
2013-03-07 19:47:44 -08:00 |
|
Markus F.X.J. Oberhumer
|
36dd35f238
|
Silence some compilation warnings.
|
2013-02-18 11:01:30 +01:00 |
|
Markus F.X.J. Oberhumer
|
87a368a857
|
Welcome 2013.
|
2013-02-12 10:14:03 +01:00 |
|
John Reiser
|
0b11ff22b4
|
internal documentation: pointer to source for Apple codesign
|
2013-02-03 11:27:02 -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 |
|
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
|
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
|
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
|
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 |
|
Markus F.X.J. Oberhumer
|
43ce34d547
|
Welcome 2012.
|
2012-01-01 22:35:11 +01:00 |
|
John Reiser
|
36bc14e884
|
fix PackMachFat::unpack for test mode ("-t"): fo==NULL
|
2011-07-11 14:37:40 -07:00 |
|
John Reiser
|
d4983731e7
|
More l_info.l_lszie and .l_checksum TargetEndian.
|
2011-03-28 11:11:05 -07:00 |
|
Markus F.X.J. Oberhumer
|
9bf2b79d9e
|
Enter 2011.
|
2011-01-03 08:49:23 +01:00 |
|
John Reiser
|
d97a557ac3
|
unpacking PackMachFat::CPU_TYPE_X86_64
|
2010-06-28 16:02:57 -07:00 |
|
John Reiser
|
99a208110b
|
Detect LC_SEGMENT beyond end-of-file in PackMachBase<T>::find_SEGMENT_gap.
|
2010-04-28 20:05:23 -07:00 |
|
Markus F.X.J. Oberhumer
|
b6a9b0a4c9
|
Silence some compilation warnings.
|
2010-03-31 02:16:32 +02:00 |
|
John Reiser
|
6e4aeffc0c
|
Withdraw support for shared libraries (.dylib) on Darwin (Apple Mac OS X).
|
2010-03-12 10:20:18 -08:00 |
|
John Reiser
|
59c16da6fb
|
PackMachBase::pack4dylib avoid sliding if offset or reloff is 0.
|
2010-03-10 13:14:52 -08:00 |
|
John Reiser
|
f550111400
|
PackDylibAMD64 (Mac OS X shared library on x86_64)
|
2010-03-09 19:02:25 -08:00 |
|
John Reiser
|
77377195aa
|
Allow CPU_TYPE_X86_64 for MH_EXECUTE in fat (universal) binaries,
but no MH_DYLIB yet. infoWarning() for unsupported cputype.
|
2010-03-09 13:35:06 -08:00 |
|
Markus F.X.J. Oberhumer
|
6bc3197721
|
Enter 2010.
|
2010-02-06 17:15:49 +01:00 |
|
John Reiser
|
dacd11e1cc
|
Fix sourceforge bug #2874848: Mach/fat needs seek() after set_extent().
|
2009-10-08 12:53:02 -07:00 |
|
Markus F.X.J. Oberhumer
|
967ecafc33
|
Small compatibility updates.
|
2009-09-21 05:41:49 +02:00 |
|
John Reiser
|
200a2556ef
|
New format Mach/AMD64 for 64-bit x86 programs on Apple Macintosh
|
2009-09-01 07:30:37 -07:00 |
|
Markus F.X.J. Oberhumer
|
b03112a5dd
|
Silence some compilation warnings.
|
2009-06-09 13:11:21 +02:00 |
|
Markus F.X.J. Oberhumer
|
a3f49df62d
|
Remove trailing whitespace.
|
2009-06-09 09:43:00 +02:00 |
|
John Reiser
|
20dcbc593c
|
PackMachFat for MH_DYLIB, too.
|
2009-06-01 16:23:13 -07:00 |
|
John Reiser
|
a187cb6c9c
|
work on stub for powerpc-darwin.dylib-entry.S
|
2009-05-29 22:08:08 -07:00 |
|
John Reiser
|
b89c0b35d1
|
bugfix: PackMachBase::pack2 first extent is Mach_header plus Mach_segment_commands
|
2009-05-29 13:38:43 -07:00 |
|
John Reiser
|
7ffcc0a5e7
|
powerpc-darwin.dylib
|
2009-05-27 10:19:50 -07:00 |
|
John Reiser
|
bde43fbdfb
|
PackMachBase<T>::pack4dylib to prepare for more architectures
|
2009-05-23 21:13:44 -07:00 |
|
John Reiser
|
3728b2208f
|
Cleanup declaration of PackDylibI386.
|
2009-05-22 08:37:44 -07:00 |
|
John Reiser
|
d7ed2412f6
|
386-darwin.dylib decompressor chains to user .init_address
|
2009-05-20 07:10:14 -07:00 |
|
John Reiser
|
7d38f0e234
|
i386-darwin.dylib ::unpack
|
2009-05-19 15:57:18 -07:00 |
|
John Reiser
|
3e8d072d24
|
i386-darwin.dylib requires existing LC_ROUINTES command;
decompressor must not overwrite Mach_headers.
|
2009-05-19 09:43:05 -07:00 |
|
John Reiser
|
84ac771893
|
Decompression part for Mach dylib i386.
|
2009-05-18 11:59:11 -07:00 |
|
John Reiser
|
3a9e0b5be6
|
Compression part for Mach dylib i386.
|
2009-05-13 10:40:21 -07:00 |
|
Markus F.X.J. Oberhumer
|
5ed689ceb0
|
Enter 2009.
|
2008-12-31 17:07:18 +01:00 |
|
Markus F.X.J. Oberhumer
|
25f1765f36
|
Support building with OpenWatcom 1.8. Silence some compiler warnings.
|
2008-12-31 16:56:38 +01:00 |
|
Markus F.X.J. Oberhumer
|
063bd58802
|
Silence gcc's -Wstrict-aliasing=1 warnings.
|
2008-12-29 23:15:56 +01:00 |
|
John Reiser
|
2f4ac0a663
|
format UPX_F_MACH_ARMEL, class PackMachARMEL: iPhone
|
2008-11-15 14:44:19 -08:00 |
|
Markus F.X.J. Oberhumer
|
d54f947c98
|
Add Packer::hasLoaderSection() to handle missing CFLUSH sections.
|
2008-04-07 18:44:00 +02:00 |
|
John Reiser
|
703d498772
|
Implement cache flush for PowerPC.
|
2008-02-26 12:15:09 -08:00 |
|
Markus F.X.J. Oberhumer
|
7f9c47176a
|
Introduce target endianness accessors get_teXX() and set_teXX() in packer.h to
replace all [gs]et_nativeXX() member functions.
|
2008-01-09 13:57:47 +01: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 |
|
John Reiser
|
5562b21a20
|
PackMach* checkAlreadyPacked()
|
2007-02-16 08:02:59 -08:00 |
|
John Reiser
|
7324f4c3d1
|
PackMach* filters only the [1st] largest executable LC_SEGMNET
|
2007-02-10 17:47:04 -08:00 |
|
John Reiser
|
b598ad1bc0
|
i386-darwin.macho runtime stub
|
2007-02-10 09:16:49 -08:00 |
|
Markus F.X.J. Oberhumer
|
ace24ad68e
|
Minor portability fixes.
|
2007-02-08 16:17:32 +01:00 |
|
Markus F.X.J. Oberhumer
|
750c1a0f27
|
Avoid compiler warnings.
|
2007-02-08 15:00:42 +01:00 |
|
John Reiser
|
52d89bd66b
|
PackMachFat has trouble with --fileinfo
|
2007-02-07 22:24:42 -08:00 |
|
John Reiser
|
8cfb9d35e9
|
fix ui report after PackMachFat::unpack
|
2007-02-07 22:03:15 -08:00 |
|
John Reiser
|
6e68ab6d9e
|
canUnpack() and unpack() for PackMachBase, PackMachFat
|
2007-02-07 21:30:18 -08:00 |
|
John Reiser
|
fb39d6304a
|
Enable --lzma for PackMach*.
|
2007-02-07 11:23:21 -08:00 |
|
John Reiser
|
4cb57d9059
|
OutputFile::unset_extent(); endianness in Mach_fat_* and PackMachBase::b_info
|
2007-02-06 13:11:31 -08:00 |
|
John Reiser
|
42d69bd0e5
|
debug PackMachFat
|
2007-02-05 22:34:23 -08:00 |
|
John Reiser
|
f27b399f81
|
PackMachFat
|
2007-02-05 14:00:41 -08:00 |
|
John Reiser
|
d1e352c9ee
|
PackMachI386
|
2007-02-03 11:40:25 -08:00 |
|
John Reiser
|
99be1e798b
|
PackMachPPC32
|
2007-02-03 11:04:57 -08:00 |
|
John Reiser
|
2132a28a17
|
UPX_F_MACH_i386 and skeleton stub. (Much of PackMachI386 is incomplete.)
|
2007-02-02 13:51:51 -08:00 |
|
John Reiser
|
8b1cc28783
|
templates to prepare for Mach-O i386 and Universal ("fat") executables
|
2007-01-31 20:25:13 -08:00 |
|
Markus F.X.J. Oberhumer
|
5e83596a1b
|
Enter 2007.
|
2007-01-14 13:08:58 +01:00 |
|
Markus F.X.J. Oberhumer
|
0b988176fa
|
Portability fixes.
|
2007-01-10 17:16:59 +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
|
8875470b37
|
Refactored compressWithFilters().
|
2006-12-06 07:27:23 +01:00 |
|
Markus F.X.J. Oberhumer
|
2ced230965
|
Updated packers to use new stub names.
|
2006-11-21 03:40:11 +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
|
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
|
0c61ca1a6b
|
Renamed addLinkerSymbols() to defineSymbols().
|
2006-08-23 11:20:06 +02:00 |
|
John Reiser
|
4f0d89ef8b
|
convert PackMachPPC32 to new Linker
|
2006-08-19 15:28:16 -07:00 |
|
Markus F.X.J. Oberhumer
|
aab984618d
|
Fix newLinker() for mach/ppc32.
|
2006-08-19 14:29:40 +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 |
|
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
|
bf5cbfffc2
|
Start major refactoring.
|
2006-06-19 19:20:50 +02:00 |
|
Markus F.X.J. Oberhumer
|
db43910288
|
Enter 2006.
|
2006-06-16 15:17:29 +02:00 |
|
Markus F.X.J. Oberhumer
|
d3323d6550
|
Major refactoring of src/stub directory.
|
2006-06-15 08:17:50 +02:00 |
|
Markus F.X.J. Oberhumer
|
d8748f4270
|
Introduced MemBuffer::getSizeForCompression().
|
2006-06-12 13:18:55 +02:00 |
|
Markus F.X.J. Oberhumer
|
d461b53235
|
Renamed variable clen to c_len and ulen to u_len.
|
2006-06-11 12:13:37 +02:00 |
|
John Reiser
|
16a2744782
|
find_SEGMENT_gap() like find_LOAD_gap(). Use it to avoid checksum trouble.
p_mach.cpp p_mach.h
committer: jreiser <jreiser> 1143576015 +0000
|
2006-03-28 20:00:15 +00:00 |
|
Markus F.X.J. Oberhumer
|
1810440355
|
Added __attribute__((__sentinel__)) to Packer::addLoader(). This is
a new gcc-4.1 feature.
committer: mfx <mfx> 1142035833 +0000
|
2006-03-11 00:10:33 +00:00 |
|
Markus F.X.J. Oberhumer
|
51ac5172f5
|
#undef PAGE_{MASK,SIZE} to fix build problems on some machines.
committer: mfx <mfx> 1139743226 +0000
|
2006-02-12 11:20:26 +00:00 |
|
Markus F.X.J. Oberhumer
|
c87908266a
|
Fix a compilation problem with older compilers.
committer: mfx <mfx> 1110730245 +0000
|
2005-03-13 16:10:45 +00:00 |
|
Markus F.X.J. Oberhumer
|
232754b978
|
Removed trailing whitespace.
committer: mfx <mfx> 1109669261 +0000
|
2005-03-01 09:27:41 +00:00 |
|
John Reiser
|
67a77f1880
|
Packer for Macintosh Darwin Mach-o PowerPC32
Added Files:
p_mach.cpp p_mach.h
committer: jreiser <jreiser> 1108863998 +0000
|
2005-02-20 01:46:38 +00:00 |
|