Mail Archives: djgpp/2000/11/29/12:30:50
> From: "Stephan Diestelhorst" <syon AT topmail DOT de>
> Date: Wed, 29 Nov 2000 17:07:33 +0100
>
> My problem is (but I think this can't be solved WITHOUT "postprocessing" the
> generated exe), that I have a tiny self written app,
> that scrambles some part of the EXE file, very easy algorithm, but I don't
> like all that ASCII-Strings and other stuff in my EXE to be
> seen for free :-)
You could use an executable compressor, such as UPX or DJP.
In any case, if your scrambling algorithm is easy, you can count on
someone being smart enough to unscramble it.
> I just hoped that there was a lets say "hidden" switch in RHIDE, to call
> another prog after invoking the compiler...
> Is there one?
I don't think so, but GCC switches are notoriously
under-documented...
> Perhaps I could write some code, which calls the original gcc and
> then performs the scrambling and replace gcc.exe with it....
It strikes me that it will be easier to learn the syntax of `specs'
than to write an additional program.
However, should you decide to replace GCC, you can start with gxx.c,
the source of gxx.exe, which is in djlsr203.zip.
- Raw text -