Related articles |
---|
Making a partial C compiler cyberheg@l115.langkaer.dk (John Eskie) (2003-05-18) |
Re: Making a partial C compiler torbenm@diku.dk (2003-05-23) |
Re: Making a partial C compiler matt@peakfive.com (Matt Rosing) (2003-05-24) |
Re: Making a partial C compiler blackmarlin@asean-mail.com (2003-05-24) |
Re: Making a partial C compiler idbaxter@semdesigns.com (2003-05-24) |
Re: Making a partial C compiler cyberheg@l115.langkaer.dk (John Eskie) (2003-05-29) |
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) |
[3 later articles] |
From: | idbaxter@semdesigns.com (Ira Baxter) |
Newsgroups: | comp.compilers |
Date: | 24 May 2003 20:28:16 -0400 |
Organization: | http://groups.google.com/ |
References: | 03-05-139 |
Keywords: | C, translator |
Posted-Date: | 24 May 2003 20:28:16 EDT |
"John Eskie" <cyberheg@l115.langkaer.dk> wrote
> I want to make a C/C++ source code obfuscator in C or C++. I don't
> need a full parser since I think about limited flow obfuscation. So
> what I need is to identify all "sub parts" of code like statements,
> if/while/for etc. pieces of code.
>
> Therefore I need some parsing code that could ease my job. ...
> the alternative is to write my own parsing
> code for my needs which probably won't be better then what exists
> already.
The DMS Software Reengineering Toolkit has both C and C++ front ends
and could be used for this. It parses a language and builds full ASTs
which clearly would identify the "sub parts". See
http://www.semanticdesigns.com/Products/DMS/DMSToolkit.html.
If you'll settle for just identifier obfuscation rather than going as
far as control flow obfuscation, then you can even obtain DMS-based C
and C++ obfuscators off the shelf. See
http://www.semanticdesigns.com/Products/Obfuscators/index.html
Return to the
comp.compilers page.
Search the
comp.compilers archives again.