From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,fb103f2b33b4d777,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2001-07-15 19:25:01 PST Return-Path: Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cola.stump.algebra.com!robomod!not-for-mail X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) Date: Sun, 15 Jul 2001 21:21:25 CST From: Sandro Sigala X-X-Sender: Subject: cutils 1.6 - C language miscellaneous utilities Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Newsgroups: comp.os.linux.announce X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAO1JPpSFvAtx2nXvNAQFuRQH/a7FTQjeg90wQlEem7tXH1xgVtchnJKd7 VjCoLHnoZtWV86CGbc/r5Unq5wpjxtUNfWbmiqYZEfi7jxkAIFCQiw== =9Y7a Xref: archiver1.google.com comp.os.linux.announce:1046 The utilities enclosed in the cutils package are usually useful in some circumstances during the development in the "C" language. cdecl cundecl The cdecl and cundecl utilities can be used to decode or encode a complex type declaration like void (*signal(int sig, void (*func)(int)))(int); or declare funcvec as array[16] of pointer to function that expects (void) returning int; cobfusc The cobfusc utility can be used to obfuscate (i.e. render unreadable but perfectly compilable) some code. For example: int main(int argc, char **argv) { int i; printf("program name: %s\n", argv[0]); printf("arguments:"); for (i = 1; i < argc; i++) printf(" %s", argv[i]); printf("\n"); } can be converted to: int main(int q0,char**q1){int q2;printf( "\160\162\157\147\162\141\155\40\156\141\155\145\72\40\45\163\n", q1[0]);printf("\141\162\147\165\155\145\156\164\163\72");for(q2=1; q2. ---------------------------------------------------------------------- NEWS: Changes between cutils 1.5.2 - cutils 1.6 * Cleaned up long-standing bugs and package distribution. * chilight - added roff and tty formats, better handling of #xxx preprocessor directives and some minor changes. Contributed by Jukka A. Ukkonen . - added ANSI escape cleanup. - cleaned up HTML output. - added `-t' HTML title option. - removed useless `-d' option. - renamed `-s' "style" option to `-f' "format". * cobfusc - cleaned up. - added `-A' heavy obfuscation option. - added `-f' separate output option. - added `-x' exclusive mode option. - added `-z' identifiers pairs option. - removed useless `-h' option. - fixed bug with the `-e' option. - inverted `-p' and `-r' options behavior. * yyextract - cleaned up HTML output. - added `-t' HTML title option. * Removed cinfo, cinfoc, cinfodc, cweave, ctangle components. ---------------------------------------------------------------------- LSM: Begin4 Title: cutils Version: 1.6 Entered-date: 15JUL01 Description: C language miscellaneous utilities Keywords: C obfusc shrouder highlight bnf ebnf grammar lex yacc Author: sandro@sigala.it (Sandro Sigala) Maintained-by: sandro@sigala.it (Sandro Sigala) Primary-site: sunsite.unc.edu /pub/Linux/devel/lang/c 130k cutils-1.6.tar.gz Alternate-site: http://www.sigala.it/sandro/files/ 130k cutils-1.6.tar.gz Platforms: ANSI C compiler Copying-policy: BSD End ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################