Packexe takes an executable as input, compresses it and produces a packed executable which behaves exactly like the source one.
Why need packexe when there's gzexe prog?
There are few differences which may be important in some cases:
- The resulting executable is binary.
- Unpacker process is substituted by the original one and has the same PID.
- There will be only one executing process (with gzexe there are two).
This is the best that can be done without hacking into OS executable loading.
Checked to work on Linux, Mac OS X, FreeBSD.