John Reiser
504deeff42
ET_DYN cannot be old format for decompression
2006-05-24 13:15:39 -07:00
Markus F.X.J. Oberhumer
b7785b64cf
Small cleanups to keep p_armpe & p_w32pe in sync.
2006-05-24 19:21:26 +02:00
László Molnár
f914cb6858
pe: added support for empty resource section
2006-05-24 17:14:09 +02:00
John Reiser
91051d2521
Try to merge with mainline.
2006-05-23 17:52:05 -07:00
John Reiser
51536a7acd
decompression PackLinuxElf32x86.ET_DYN
2006-05-23 17:42:35 -07:00
Markus F.X.J. Oberhumer
263ccab6e3
Updated NEWS for --brute bugfix.
2006-05-23 13:25:19 +02:00
John Reiser
9f87755dcb
Note fix to --force-execve for PaX, grSecurity, strict SELinux.
2006-05-22 15:15:21 -07:00
John Reiser
60b4cca5e5
use powerpc-750-linux-gnu/gcc-3.4.3.20050210-glibc-2.2.5
2006-05-22 13:14:54 -07:00
John Reiser
d2718e99a4
Change class PackLinuxI386elf : public PackLinuxI386
...
into class PackLinuxElf32x86 : public PackLinuxElf32Le : public PackLinuxElf32
which makes the code for compressing ELF (for direct-to-memory decompression)
cleaner because ELF has some of the class tree to itself.
This assumes PROT_EXEC|PROT_WRITE ought to work.
This is checked at runtime, and if it fails then
give a message on stderr and exit(127).
Modify --force-execve so that runtime avoids PROT_EXEC|PROT_WRITE.
Then executables compressed with --force-execve will run under
PaX, grSecurity, and strict SELinux.
2006-05-21 13:58:24 -07:00
John Reiser
69a00c0ab3
*BSD requires -1==fd for MAP_ANONYMOUS
...
stub/l_lx_exec.c stub/l_lx_sh.c stub/l_lx_sh86.asm
2006-05-21 13:45:57 -07:00
Markus F.X.J. Oberhumer
3272d23917
Renamed variable hdr_clen to hdr_c_len.
2006-05-20 13:44:36 +02:00
Markus F.X.J. Oberhumer
7f0545cae7
Check result of hdr compression.
2006-05-20 13:37:34 +02:00
Markus F.X.J. Oberhumer
68f35deb86
Fixed a rare boundary problem in Packer::compressWithFilters().
...
The comparision if an update might be possible later was using
"<" instead of "<=" which resulted in missing calls to
findOverlapOverhead() and buildLoader().
Also, the comparision had not been updated for the newly added
hdr_clen fields.
This fixes sf.net bug #1477825 .
2006-05-20 13:29:01 +02:00
Markus F.X.J. Oberhumer
c4f4035072
Updated NEWS.
2006-05-18 19:01:03 +02:00
László Molnár
a7d8845952
mention --keep-resource in NEWS and help.cpp
2006-05-18 15:54:35 +02:00
Markus F.X.J. Oberhumer
a3378393b0
Removed scripts/.
2006-05-18 15:35:35 +02:00
László Molnár
3dfe0ad478
pe: fined grain control over resource compression
2006-05-18 15:20:37 +02:00
László Molnár
9a3b7a4f3f
arm/pe: really fix the memory leak
2006-05-18 15:20:11 +02:00
László Molnár
78579b1103
pe: do not crash on out of bounds bogus relocation records
2006-05-18 15:19:55 +02:00
László Molnár
7d50344512
pe: fixed a memory leak in the resource handling code
2006-05-18 15:19:13 +02:00
László Molnár
7a00c12065
arm/pe: minor cleanup in the thumb mode stub
2006-05-18 15:18:50 +02:00
László Molnár
af71e67681
arm/pe: saved 4 bytes in the arm mode stub
2006-05-18 15:18:36 +02:00
László Molnár
b3e20fc324
arm/pe: no need to try to precompute the size of relocations
2006-05-18 15:18:13 +02:00
László Molnár
bd1014abb6
dos/exe: saved some bytes in device driver mode
2006-05-18 15:17:53 +02:00
László Molnár
7f76664a5d
Merged with mainline
2006-05-18 13:10:15 +02:00
Markus F.X.J. Oberhumer
0a5a80b05d
Updated .hgignore.
2006-05-18 10:48:06 +02:00
Markus F.X.J. Oberhumer
2d63da0660
Support automatic ChangeLog generation.
2006-05-18 10:16:59 +02:00
Markus F.X.J. Oberhumer
8387527d2e
Updated .hgignore.
2006-05-18 09:37:18 +02:00
Markus F.X.J. Oberhumer
5d03ba7d63
Added .hgignore.
2006-05-18 09:08:38 +02:00
Markus F.X.J. Oberhumer
0ece50c122
Removed .cvsignore and .gitignore files.
2006-05-18 09:02:00 +02:00
Markus F.X.J. Oberhumer
f2ac297252
Updated tags.
2006-05-18 08:27:19 +02:00
László Molnár
0ca8ae17d4
updated my email address
2006-05-17 21:05:46 +02:00
convert-repo
88ca87cf9e
update tags
2006-05-11 10:41:33 +00:00
László Molnár
0d69d228e4
arm/pe: no need to allocate extra memory in the import table
...
committer: ml1050 <ml1050> 1147090379 +0000
2006-05-08 12:12:59 +00:00
Markus F.X.J. Oberhumer
a3afe95306
Updated NEWS.
...
committer: mfx <mfx> 1147081195 +0000
2006-05-08 09:39:55 +00:00
Markus F.X.J. Oberhumer
9fb4af8658
Updated Makefile.
...
committer: mfx <mfx> 1147081156 +0000
2006-05-08 09:39:16 +00:00
László Molnár
9bb6ba9311
dos/exe: device driver support added (thanks Michael Devore)
...
committer: ml1050 <ml1050> 1147078121 +0000
2006-05-08 08:48:41 +00:00
Markus F.X.J. Oberhumer
faa42ba341
Updated the master Makefile
...
to be more friendly to people without the special stub build tools.
committer: mfx <mfx> 1146764116 +0000
2006-05-04 17:35:16 +00:00
László Molnár
596827a912
remove obsolete files: l_armpe.asm l_armpe.h l_armpe_c.c l_armpe_s.S
...
committer: ml1050 <ml1050> 1146763209 +0000
2006-05-04 17:20:09 +00:00
László Molnár
89b4292445
saved 2 bytes
...
committer: ml1050 <ml1050> 1146763076 +0000
2006-05-04 17:17:56 +00:00
László Molnár
dd88737414
it works on wince now (only with dlls)
...
committer: ml1050 <ml1050> 1146763013 +0000
2006-05-04 17:16:53 +00:00
László Molnár
5456cfc304
arm/pe: use the new linker friendly stubs
...
two linkers: one for arm mode, one for thumb mode
the import address table is moved to the stubs area of compressed files
changed the alignment of some header fields
the command line option "--8086" can be used to force thumb mode on
committer: ml1050 <ml1050> 1146647520 +0000
2006-05-03 09:12:00 +00:00
László Molnár
1e66096ea7
arm/pe stubs: the import address table is moved to the stub
...
committer: ml1050 <ml1050> 1146646915 +0000
2006-05-03 09:01:55 +00:00
John Reiser
2b6ae3908c
/usr/bin/dyld can be a "fat binary" [how stupid!]
...
m_mac_mach32.c fold_machppc32.S fold_machppc32.h
committer: jreiser <jreiser> 1146434013 +0000
2006-04-30 21:53:33 +00:00
László Molnár
1924612479
a small fix for the thumb stub
...
committer: ml1050 <ml1050> 1146224685 +0000
2006-04-28 11:44:45 +00:00
László Molnár
2af5bdeaab
added some debugging code
...
committer: ml1050 <ml1050> 1146154452 +0000
2006-04-27 16:14:12 +00:00
László Molnár
b28565b38d
new files: l_armpea.h l_armpet.h
...
committer: ml1050 <ml1050> 1146154411 +0000
2006-04-27 16:13:31 +00:00
László Molnár
fec602362b
added new virtual function createLinker()
...
committer: ml1050 <ml1050> 1146153290 +0000
2006-04-27 15:54:50 +00:00
László Molnár
6753c5f45a
trying to implement the user space loader on native wince
...
committer: ml1050 <ml1050> 1146152386 +0000
2006-04-27 15:39:46 +00:00
Markus F.X.J. Oberhumer
2f3c108d42
Next version will be 2.01.
...
committer: mfx <mfx> 1146140843 +0000
2006-04-27 12:27:23 +00:00