delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/29/12:30:50

Date: Wed, 29 Nov 2000 19:26:37 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Stephan Diestelhorst" <syon AT topmail DOT de>
Message-Id: <7458-Wed29Nov2000192636+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <002b01c05a1e$a2a4c540$4746a8c0@rchandler> (syon@topmail.de)
Subject: Re: RHIDE: Running anothr prog after compiling...
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001129103659 DOT 10519I-100000 AT is> <002b01c05a1e$a2a4c540$4746a8c0 AT rchandler>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019