l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] C Obfuscator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] C Obfuscator

  • Subject: Re: [vox-tech] C Obfuscator
  • From: Gabriel Rosa <grosa@ucdaviMAPSs.edu>
  • Date: Thu, 10 May 2001 19:48:55 -0700
  • References: 20010510200104.A8876@mcowan-linux.transmeta.com

looks nice, but i wrote a better version.




On Thu, 10 May 2001, Micah Cowan wrote:

> For the curious - I thought somebody might be interested in this:
> http://www.cowanbox.com/obfuscate.c
> Which takes a C source file as input and outputs a completely correct
> C source file, identical except for the fact that all unnecessary
> whitespace has been stripped from it.  It also randomly replaces
> eligible characters with equivalent trigraph sequences.  For this
> reason, you'll need to make sure that gcc's trigraph support is
> activated or that it's running in ansi-conformance mode to correctly
> compile the output.
> All configuration is compile-time - I wrote this as an excercise for
> comp.lang.c.moderated; didn't use getopt() since that's not Standard
> C, and didn't bother to write my own command-line parser because
> that's not directly related to the task I was solving.
> Try it out if you like!
> Micah

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.