Re: Making a partial C compiler

"John Eskie" <cyberheg@l115.langkaer.dk>
8 Jun 2003 22:02:18 -0400

          From comp.compilers

Related articles
[6 earlier articles]
Re: Making a partial C compiler vbdis@aol.com (2003-06-03)
Re: Making a partial C compiler lars@bearnip.com (2003-06-03)
Re: Making a partial C compiler boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2003-06-03)
Re: Making a partial C compiler jyrixx@astro.temple.edu (2003-06-03)
Re: Making a partial C compiler torbenm@diku.dk (2003-06-05)
Re: Making a partial C compiler cyberheg@l115.langkaer.dk (John Eskie) (2003-06-08)
Re: Making a partial C compiler cyberheg@l115.langkaer.dk (John Eskie) (2003-06-08)
Re: Making a partial C compiler and obfuscator chase@theworld.com (David Chase) (2003-06-08)
Re: Making a partial C compiler vbdis@aol.com (2003-06-20)
| List of all articles for this month |

From: "John Eskie" <cyberheg@l115.langkaer.dk>
Newsgroups: comp.compilers
Date: 8 Jun 2003 22:02:18 -0400
Organization: TDC Internet
References: 03-05-139 03-05-202 03-06-017
Keywords: design, comment
Posted-Date: 08 Jun 2003 22:02:18 EDT

> Optimizing compiler (for example, gcc with -O1) will re-arrange these
> blocks back. Do you agree to distribute slow unoptimized code?


Yes I know it will become slower and it's ok for what I need. If it
takes 1 or 2 seconds longer to run the processed code it's acceptable.


I wonder what alternatives there exist for making control flow
obfuscation. I've read lots of reports on advanced analysis and
restructuring of C code in some university reports published on
various websites but it seems there are no practical implementations
of it. Often there is alot distance from theory to get it to work.


-- John
[Compile to PDP-11 code, then include a PDP-11 simulator to run it.
Add architectures and nest to taste. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.