Markus F.X.J. Oberhumer
|
11e863545f
|
Strip trailing whitespace.
|
2006-12-18 16:56:14 +01:00 |
|
Markus F.X.J. Oberhumer
|
a37a75aecc
|
First step for preprocessing dumps with xstrip.py. Not working yet.
|
2006-12-18 16:39:57 +01:00 |
|
John Reiser
|
bd5cef1411
|
unfilter for arm-linux.kernel
|
2006-12-17 14:53:10 -08:00 |
|
John Reiser
|
cd70b48831
|
src/stub/src/arch/arm/v5a directory
|
2006-12-17 13:24:14 -08:00 |
|
John Reiser
|
c5cfb7eb40
|
more arm-linux.kernel work
|
2006-12-16 22:02:51 -08:00 |
|
John Reiser
|
bccaafda6d
|
arm-linux stub interfacing for lzma
|
2006-12-16 17:16:32 -08:00 |
|
John Reiser
|
bf0086d7b5
|
arm-linux.kernel decompressor
|
2006-12-16 14:52:22 -08:00 |
|
John Reiser
|
7e65938ca6
|
fix filename in initial comment
|
2006-12-16 08:40:41 -08:00 |
|
John Reiser
|
112eff2509
|
add UPX_F_VMLINUX_AMD64, UPX_F_VMLINUX_ARM
|
2006-12-16 08:13:34 -08:00 |
|
Markus F.X.J. Oberhumer
|
5a03b213fb
|
More stricter check in xstrip.py.
|
2006-12-12 07:50:05 +01:00 |
|
Markus F.X.J. Oberhumer
|
edf384d2ee
|
Micro-optimization: save 1 byte in tmt/adam stub.
|
2006-12-09 13:56:47 +01:00 |
|
Markus F.X.J. Oberhumer
|
a77b598f82
|
Implement a micro-optimization which has been on our TODO list for ages:
remove "or ebp,-1" when not needed
|
2006-12-08 09:20:14 +01:00 |
|
Markus F.X.J. Oberhumer
|
cbb5902066
|
Improve xstrip.py.
|
2006-11-25 15:36:56 +01:00 |
|
Markus F.X.J. Oberhumer
|
92ec1b0598
|
Add and use stub/scripts/xstrip.py.
|
2006-11-23 05:27:40 +01:00 |
|
Markus F.X.J. Oberhumer
|
a62fc3abff
|
Try to remove .shstrtab, .strtab and .symtab sections. This does not seem to
work with objcopy.
|
2006-11-23 03:31:43 +01:00 |
|
Markus F.X.J. Oberhumer
|
08f8e55446
|
More updates on bin2h.py.
|
2006-11-23 03:11:53 +01:00 |
|
Markus F.X.J. Oberhumer
|
68f54a3247
|
Updated bin2h.py.
|
2006-11-23 02:23:39 +01:00 |
|
Markus F.X.J. Oberhumer
|
ef7beea334
|
Cosmetic cleanups.
|
2006-11-21 16:17:47 +01:00 |
|
Markus F.X.J. Oberhumer
|
3f4acb33f9
|
First step for possibly using ElfLinker with linux execve/interp/shell stubs
as well.
|
2006-11-21 16:00:25 +01:00 |
|
Markus F.X.J. Oberhumer
|
14822e6395
|
Now that it seems to work, disable usage of pre-compressed stubs again.
|
2006-11-21 07:14:07 +01:00 |
|
Markus F.X.J. Oberhumer
|
87b7ea9cf3
|
Add LZMA support for pre-compressed stubs.
|
2006-11-21 06:09:04 +01:00 |
|
Markus F.X.J. Oberhumer
|
787b1fceff
|
Actually generate and use pre-compressed stubs. Currently this is mainly
for testing as the self-packed upx binary does get _larger_ this way.
|
2006-11-21 05:29:29 +01:00 |
|
Markus F.X.J. Oberhumer
|
46e8e22236
|
Prepare generating pre-compressed stubs.
|
2006-11-21 05:03:25 +01:00 |
|
Markus F.X.J. Oberhumer
|
989d10a3e1
|
Rebuilt all stubs with new bin2h.py and --ident=auto-stub.
|
2006-11-21 03:36:48 +01:00 |
|
Markus F.X.J. Oberhumer
|
62d8c69774
|
Enhanced bin2h.py: added --ident=auto, added --compress=XXX.
|
2006-11-21 03:34:08 +01:00 |
|
Markus F.X.J. Oberhumer
|
141c703ed5
|
Use ld option --no-warn-mismatch when generating binary output.
|
2006-11-20 17:36:04 +01:00 |
|
John Reiser
|
796d58867b
|
use separate stub/armeb-linux.elf-entry and fold
|
2006-11-20 08:02:28 -08:00 |
|
Markus F.X.J. Oberhumer
|
d9effc58cf
|
Added initial version of armeb-linux.elf stubs. Completely untested.
|
2006-11-20 12:40:57 +01:00 |
|
Markus F.X.J. Oberhumer
|
d631e081bc
|
arm-linux.elf: make two symbols global.
|
2006-11-19 05:09:01 +01:00 |
|
Markus F.X.J. Oberhumer
|
cd0efe3edb
|
Some atari/tos cleanups.
|
2006-11-18 02:39:11 +01:00 |
|
Markus F.X.J. Oberhumer
|
8146e9cbcd
|
Implemented some small atari/tos optimizations.
|
2006-11-17 18:47:33 +01:00 |
|
Markus F.X.J. Oberhumer
|
5d95275024
|
Add some more calls to f-objstrip.
|
2006-11-17 14:50:59 +01:00 |
|
Markus F.X.J. Oberhumer
|
49a97eea4b
|
More brandelf.py updates.
|
2006-11-17 14:50:42 +01:00 |
|
Markus F.X.J. Oberhumer
|
36e9c27e9c
|
Updated brandelf.py.
|
2006-11-16 22:23:01 +01:00 |
|
Markus F.X.J. Oberhumer
|
6e5153cd07
|
Minor Makefile updates.
|
2006-11-16 21:14:58 +01:00 |
|
Markus F.X.J. Oberhumer
|
99374de340
|
Clean up stub sources.
|
2006-11-16 19:36:13 +01:00 |
|
Markus F.X.J. Oberhumer
|
e61f481881
|
Added .DELETE_ON_ERROR rules.
|
2006-11-16 18:49:34 +01:00 |
|
Markus F.X.J. Oberhumer
|
396a3ad2fc
|
Small atari cleanups.
|
2006-11-13 10:51:45 +01:00 |
|
Markus F.X.J. Oberhumer
|
8e0bd936eb
|
atari/tos now seems to work again.
|
2006-11-12 18:25:46 +01:00 |
|
Markus F.X.J. Oberhumer
|
786550572e
|
More work on atari/tos.
|
2006-11-12 13:46:38 +01:00 |
|
Markus F.X.J. Oberhumer
|
76771b845a
|
Started work on atari/tos.
|
2006-11-12 10:58:04 +01:00 |
|
Markus F.X.J. Oberhumer
|
2f41ece017
|
Minor cleanups.
|
2006-11-10 13:49:22 +01:00 |
|
Markus F.X.J. Oberhumer
|
028235d421
|
Keep variable names sorted.
|
2006-11-07 10:24:54 +01:00 |
|
Markus F.X.J. Oberhumer
|
143d399849
|
Updated two "xchg" commands to produce byte-identical results with UPX 2.02.
|
2006-11-07 09:35:00 +01:00 |
|
László Molnár
|
375f171e47
|
dos/com&sys: correctly set carry bit by using "sub si,-xx" instead of "add si,xx"
|
2006-11-06 17:54:37 +01:00 |
|
Markus F.X.J. Oberhumer
|
011cd37cfb
|
Small cleanup of arm sources.
|
2006-10-30 14:10:51 +01:00 |
|
Markus F.X.J. Oberhumer
|
0d4254f319
|
Added tc_objdump_disasm_options.
|
2006-10-30 13:21:48 +01:00 |
|
Markus F.X.J. Oberhumer
|
4c407c2850
|
Rebuild all stubs. Minor Makefile cleanup.
|
2006-10-25 04:08:59 +02:00 |
|
John Reiser
|
829e2d6c5d
|
set e_shentsize to work around bug in binutils [mostly cosmetic]
|
2006-10-24 09:43:50 -07:00 |
|
John Reiser
|
a31c4bd474
|
more renaming for i386-linux.kernel.vmlinux-head.h
|
2006-10-24 09:29:01 -07:00 |
|
John Reiser
|
ede44ca6ee
|
vmlinux/386 naming convention for source files
|
2006-10-16 06:11:49 -07:00 |
|
John Reiser
|
2b122562ad
|
new file i386-linux.kernel.head-vmlinux.S
|
2006-10-14 14:55:10 -07:00 |
|
John Reiser
|
6891bc3da3
|
vmlinux/i386: fix filters, 0x400000 start, integration with kernel build
|
2006-10-14 14:52:30 -07:00 |
|
John Reiser
|
014236c861
|
amd64 stub: fix length of move for non-small programs
|
2006-10-04 08:38:06 -07:00 |
|
László Molnár
|
8f7f1135df
|
win32/pe: size of tls_value should be 32 bits
|
2006-10-03 17:01:47 +02:00 |
|
John Reiser
|
d2b72cf496
|
sync
|
2006-10-03 06:59:10 -07:00 |
|
John Reiser
|
b84af27a86
|
typo "pop %eax" [not caught by assembler?]
|
2006-10-01 16:19:17 -07:00 |
|
John Reiser
|
b45f28f3e9
|
propagate changes from *.S to *.h
|
2006-10-01 14:42:39 -07:00 |
|
John Reiser
|
bfa1b5656a
|
preserve readlink("/proc/self/exe",,) in environment " ="
|
2006-10-01 14:41:09 -07:00 |
|
John Reiser
|
47f946cd65
|
fix the comments
|
2006-10-01 14:25:14 -07:00 |
|
John Reiser
|
970e7bfcda
|
CPU_TYPE_I386
|
2006-10-01 14:24:20 -07:00 |
|
Markus F.X.J. Oberhumer
|
6a5bee0cdd
|
Updated test-stub-compression.
|
2006-09-09 13:03:04 +02:00 |
|
Markus F.X.J. Oberhumer
|
fd3ae51f83
|
Remove trailing whitespace.
|
2006-09-09 11:00:33 +02:00 |
|
Markus F.X.J. Oberhumer
|
5e5954a808
|
Use gcc-4.1.1 again for mipsel.
|
2006-09-09 10:57:13 +02:00 |
|
John Reiser
|
add8540909
|
Integrate upx-2.90beta1-ps1-20060908.bz2 from Jens.
|
2006-09-08 14:09:30 -07:00 |
|
John Reiser
|
06a302aed0
|
Integrate upx-2.90beta1-ps1-20060907 from Jens.
|
2006-09-07 10:44:19 -07:00 |
|
John Reiser
|
147432d38d
|
list fastest possible inline expansion (saves 3 cycles)
|
2006-09-06 11:19:18 -07:00 |
|
John Reiser
|
8660d3324d
|
"revert -r eae1090d512738ac64c783be70258ababc8b6513" to sync with Markus
|
2006-09-06 10:52:06 -07:00 |
|
John Reiser
|
f24d96d59f
|
document alternate getbit
|
2006-09-04 20:09:03 -07:00 |
|
Markus F.X.J. Oberhumer
|
1a692a0873
|
Tuned mips compiler flags.
|
2006-09-03 19:14:49 +02:00 |
|
Markus F.X.J. Oberhumer
|
631a1a4ddc
|
Cosmetic changes.
|
2006-09-03 19:13:35 +02:00 |
|
Markus F.X.J. Oberhumer
|
57df7601d9
|
mipsel: use -mtune=r4000 and -fno-sched-spec for small size reduction.
|
2006-09-02 14:53:31 +02:00 |
|
Markus F.X.J. Oberhumer
|
f7650000aa
|
Enable -fwrapv for mipsel.
|
2006-09-02 14:16:46 +02:00 |
|
Markus F.X.J. Oberhumer
|
6f93c2d9b2
|
Updated Makefiles.
|
2006-09-02 14:14:15 +02:00 |
|
Markus F.X.J. Oberhumer
|
1a1b8416e2
|
Use f-embed_objinfo for arm-linux.
|
2006-09-01 02:36:24 +02:00 |
|
Markus F.X.J. Oberhumer
|
36c66d52a6
|
Added SQUEEZE macro to better canonicalize the dumps.
|
2006-09-01 02:09:16 +02:00 |
|
Markus F.X.J. Oberhumer
|
877b9ee23b
|
Stub: provide debugging disassembly for arm.
|
2006-09-01 01:34:20 +02:00 |
|
Markus F.X.J. Oberhumer
|
80ff93beeb
|
Explicitly strip section .note.GNU-stack from objects.
|
2006-08-30 20:15:07 +02:00 |
|
Markus F.X.J. Oberhumer
|
b9ddd2812b
|
Create disassembly for i386-dos32.djgpp2-stubify.h.
|
2006-08-30 19:38:39 +02:00 |
|
László Molnár
|
ba54b56de4
|
another update for ps1/exe from Jens
|
2006-08-30 12:42:49 +02:00 |
|
Markus F.X.J. Oberhumer
|
ae20e01d2c
|
Started renaming some loader symbols - now that we have a real
linker we really should improve readability and avoid those
old cryptic names.
|
2006-08-30 00:11:40 +02:00 |
|
Markus F.X.J. Oberhumer
|
d094e8c3fc
|
Added stub/tmp/*.dump files to the Mercurial repository.
These .dump files are embedded in the .h stubs anyway, but we
really want to see some diffs to better understand what has
changed in a commit.
|
2006-08-30 00:06:47 +02:00 |
|
Markus F.X.J. Oberhumer
|
2007fe5f49
|
More small Makefile changes.
|
2006-08-29 23:08:26 +02:00 |
|
László Molnár
|
84989ffa04
|
merge
|
2006-08-29 17:11:03 +02:00 |
|
László Molnár
|
31b629a19c
|
ps1/exe updated from jens
|
2006-08-29 16:25:59 +02:00 |
|
Markus F.X.J. Oberhumer
|
e762d9e274
|
Yet another minor Makfile update.
|
2006-08-29 16:05:17 +02:00 |
|
Markus F.X.J. Oberhumer
|
6833267b19
|
Cleanups in stub Makefiles.
|
2006-08-29 14:37:06 +02:00 |
|
Markus F.X.J. Oberhumer
|
05f2833388
|
Detabified.
|
2006-08-29 13:43:06 +02:00 |
|
Markus F.X.J. Oberhumer
|
0d026ef18d
|
Removed trailing whitespace.
|
2006-08-29 13:41:13 +02:00 |
|
Markus F.X.J. Oberhumer
|
b756d93891
|
Use absolute symbols to store offsets in m68k stub.
|
2006-08-28 09:48:01 +02:00 |
|
Markus F.X.J. Oberhumer
|
41847d31e7
|
More m68k rearrangments.
|
2006-08-26 13:25:37 +02:00 |
|
Markus F.X.J. Oberhumer
|
e051b69e80
|
Use -fwrapv for m68k stubs.
|
2006-08-26 12:57:21 +02:00 |
|
Markus F.X.J. Oberhumer
|
59283d1164
|
More work on m68k.
|
2006-08-24 20:48:09 +02:00 |
|
Markus F.X.J. Oberhumer
|
0de32a5edc
|
Small Makefile cleanup.
|
2006-08-24 14:07:53 +02:00 |
|
Markus F.X.J. Oberhumer
|
04ddc8003f
|
Started work on m68k.
|
2006-08-24 03:56:11 +02:00 |
|
Markus F.X.J. Oberhumer
|
3213f98d66
|
Added recursive targes extra-all and extra-clean.
|
2006-08-24 01:34:57 +02:00 |
|
Markus F.X.J. Oberhumer
|
1f16f85c51
|
Reorganized Makefile.extra.
|
2006-08-24 01:34:24 +02:00 |
|
Markus F.X.J. Oberhumer
|
c03cb3a11c
|
All stubs now depend on Makefile and thus will get rebuilt more often.
|
2006-08-24 01:34:06 +02:00 |
|
László Molnár
|
62e29a6546
|
let us see the relocation info in the disassembled stubs
|
2006-08-23 14:43:37 +02:00 |
|
Markus F.X.J. Oberhumer
|
c0c47f41be
|
Added initial lzma support for m68k.
|
2006-08-23 13:58:16 +02:00 |
|
Markus F.X.J. Oberhumer
|
37761d580f
|
Updated for bin-upx-20060823.
|
2006-08-23 13:11:01 +02:00 |
|
László Molnár
|
b4f57dee3b
|
arm.v4t-wince.pe: minor cleanups
|
2006-08-22 14:16:46 +02:00 |
|
Markus F.X.J. Oberhumer
|
a27af7dd7e
|
Small update.
|
2006-08-22 11:02:54 +02:00 |
|
John Reiser
|
30a4adf331
|
Reduce usage of patchDecompressor()
|
2006-08-21 21:19:48 -07:00 |
|
John Reiser
|
117a721166
|
ElfLinker::addSection ==> addLoader
|
2006-08-21 19:52:09 -07:00 |
|
John Reiser
|
1a219e62ba
|
Bvmlinuz: linker->defineSymbol() instead of patchDecompressor()
|
2006-08-21 14:26:42 -07:00 |
|
Markus F.X.J. Oberhumer
|
348a40201b
|
Introduce $(tc_bfdarch) and generate disassemblies to verify code quality.
|
2006-08-21 20:55:37 +02:00 |
|
Markus F.X.J. Oberhumer
|
8e9ce59ef2
|
Minor Makefile cleanups.
|
2006-08-21 16:40:20 +02:00 |
|
László Molnár
|
d76ef8e3cf
|
arm/pe: use embed_objinfo in the Makefile
made some symbols globals in arm.v4a-wince.pe.S & arm.v4t-wince.pe.S
|
2006-08-21 15:20:20 +02:00 |
|
John Reiser
|
c19ffafd8d
|
i386-linux.elf decompress does not need cto8
|
2006-08-20 11:19:37 -07:00 |
|
Markus F.X.J. Oberhumer
|
996a99ad75
|
Some linker.cpp cleanups.
|
2006-08-20 11:15:36 +02:00 |
|
John Reiser
|
c506e534aa
|
propagate to .h in stub/
|
2006-08-19 18:41:45 -07:00 |
|
John Reiser
|
9994315070
|
un-debug
|
2006-08-19 18:40:49 -07:00 |
|
John Reiser
|
4f0d89ef8b
|
convert PackMachPPC32 to new Linker
|
2006-08-19 15:28:16 -07:00 |
|
Markus F.X.J. Oberhumer
|
033e7928b5
|
Minor Makefile updates.
|
2006-08-19 13:05:16 +02:00 |
|
Markus F.X.J. Oberhumer
|
b095f2a158
|
Strip trailing whitespace from objdump info.
|
2006-08-18 13:22:38 +02:00 |
|
Markus F.X.J. Oberhumer
|
196c0e0ebc
|
Added embed_objinfo macro.
|
2006-08-18 13:18:10 +02:00 |
|
Markus F.X.J. Oberhumer
|
8ab309630b
|
Keep old alloca() code around.
|
2006-08-18 12:26:41 +02:00 |
|
Markus F.X.J. Oberhumer
|
42bac47a71
|
Improve automatic dependency information by using '-MT'.
|
2006-08-18 12:26:06 +02:00 |
|
Markus F.X.J. Oberhumer
|
3bc4de2236
|
Added missing stubs to hg repo.
|
2006-08-18 12:25:34 +02:00 |
|
John Reiser
|
a6e4b45a38
|
--force-execve for *BSD/386
|
2006-08-17 17:35:33 -07:00 |
|
John Reiser
|
28e97ccaf2
|
avoid symbol 'byte'
|
2006-08-17 17:18:37 -07:00 |
|
Markus F.X.J. Oberhumer
|
255781c029
|
Minor cleanups.
|
2006-08-17 13:09:51 +02:00 |
|
John Reiser
|
7f5635ea8c
|
Section LZMA_ELF00 saves time (but no space) by not clearing CProb[].
|
2006-08-16 19:49:09 -07:00 |
|
Markus F.X.J. Oberhumer
|
4f18ec726c
|
Rebuilt with bin-upx-20060816 (untested mipsel changes).
|
2006-08-16 19:40:33 +02:00 |
|
Markus F.X.J. Oberhumer
|
263622d628
|
Updated for bin-upx-20060816.
|
2006-08-16 19:37:25 +02:00 |
|
László Molnár
|
1dfd2443ac
|
name of file comments fixed
|
2006-08-16 15:29:11 +02:00 |
|
Markus F.X.J. Oberhumer
|
881bd53f60
|
Small Makefile cleanups.
|
2006-08-16 09:50:00 +02:00 |
|
Markus F.X.J. Oberhumer
|
ec4404b1ba
|
We have to use "dword ptr" instead of "dword" !
|
2006-08-16 09:38:49 +02:00 |
|
Markus F.X.J. Oberhumer
|
badaeac81f
|
Use "jmps" macro instead of #define.
|
2006-08-16 09:34:27 +02:00 |
|
Markus F.X.J. Oberhumer
|
618d5ddaff
|
More renaming.
|
2006-08-16 09:24:31 +02:00 |
|
Markus F.X.J. Oberhumer
|
4ed74af868
|
More renaming.
|
2006-08-16 09:07:00 +02:00 |
|
Markus F.X.J. Oberhumer
|
123d9af7d0
|
More renaming in arch/i386.
|
2006-08-16 08:39:58 +02:00 |
|
Markus F.X.J. Oberhumer
|
4f17b30915
|
Started renaming .asm files to .S.
|
2006-08-16 08:13:36 +02:00 |
|
Markus F.X.J. Oberhumer
|
1fc265b0aa
|
Use symbolic stride again.
|
2006-08-16 07:59:21 +02:00 |
|
John Reiser
|
afae9b8d17
|
merge
|
2006-08-15 14:01:53 -07:00 |
|
John Reiser
|
481be44879
|
Work around assembler bug: double-indexing by symbolic stride fails.
|
2006-08-15 14:00:35 -07:00 |
|
Markus F.X.J. Oberhumer
|
b8530b0f0b
|
Whitespace cleanups.
|
2006-08-15 22:48:04 +02:00 |
|
Markus F.X.J. Oberhumer
|
69de79684f
|
Removed some unused files.
|
2006-08-15 22:41:05 +02:00 |
|
Markus F.X.J. Oberhumer
|
6e6fd057b5
|
Cleaned up stub/Makefile.
|
2006-08-15 22:38:40 +02:00 |
|
John Reiser
|
ee82c32119
|
'dword' is a symbol to libexec/gcc/i686-unknown-linux-gnu/3.4.6/cc1
|
2006-08-15 12:10:54 -07:00 |
|
Markus F.X.J. Oberhumer
|
1c3f3b5705
|
Removed last dependency on nasm assembler.
|
2006-08-15 18:50:41 +02:00 |
|
Markus F.X.J. Oberhumer
|
def1ccffc4
|
Rebuilt with bin-upx-20060815.
|
2006-08-15 18:39:05 +02:00 |
|
Markus F.X.J. Oberhumer
|
fa2e531343
|
Updated for bin-upx-20060815.
|
2006-08-15 18:38:38 +02:00 |
|
Markus F.X.J. Oberhumer
|
814ddbc6cc
|
Remove duplicate inclusion.
|
2006-08-15 17:20:23 +02:00 |
|
John Reiser
|
267e8dcfb6
|
Omit double include of macros2.ash.
|
2006-08-15 07:22:52 -07:00 |
|
John Reiser
|
49ec1561f8
|
merge
|
2006-08-15 07:11:06 -07:00 |
|
John Reiser
|
e2dc612153
|
Add cl1_d32_2.ash.
|
2006-08-15 07:08:50 -07:00 |
|
Markus F.X.J. Oberhumer
|
8f225431fe
|
Minor updates to Makefile and stubs.
|
2006-08-15 10:23:45 +02:00 |
|
Markus F.X.J. Oberhumer
|
194be5e0b7
|
Moved o2bin.pl to UNUSED.
|
2006-08-15 09:21:39 +02:00 |
|