Main > Programming > Compilers >

Obfuscated Tiny C Compiler

Obfuscated Tiny C Compiler

Sponsored Links

Obfuscated Tiny C Compiler Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 9 (2 times)
File size: 0.004 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1336
Date added: 2006-03-29
Publisher: Fabrice Bellard

Obfuscated Tiny C Compiler description

Obfuscated Tiny C Compiler (OTCC) is a very small C compiler I wrote in order to win the International Obfuscated C Code Contest (IOCCC) in 2002.

My goal was to write the smallest C compiler which is able to compile itself. I choose a subset of C which was general enough to write a small C compiler. Then I extended the C subset until I reached the maximum size authorized by the contest: 2048 bytes of C source excluding the ;, {, } and space characters.

I choose to generate i386 code. The original OTCC code could only run on i386 Linux because it relied on endianness and unaligned access. It generated the program in memory and launched it directly. External symbols were resolved with dlsym().

In order to have a portable version of OTCC, I made a variant called OTCCELF. It is only a little larger than OTCC, but it generates directly a dynamically linked i386 ELF executable from a C source without relying on any binutils tools! OTCCELF was tested succesfully on i386 Linux and on Sparc Solaris.

NOTE: My other project TinyCC which is a fully featured ISOC99 C compiler was written by starting from the source code of OTCC !

Compilation:

gcc -O2 otcc.c -o otcc -ldl
gcc -O2 otccelf.c -o otccelf

Self-compilation:

./otccelf otccelf.c otccelf1

Obfuscated Tiny C Compiler Screenshot

Advertisements

Obfuscated Tiny C Compiler Keywords

Bookmark Obfuscated Tiny C Compiler

Hyperlink code:
Link for forum:

Obfuscated Tiny C Compiler Copyright

WareSeeker periodically updates pricing and software information of Obfuscated Tiny C Compiler full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Obfuscated Tiny C Compiler Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Tiny C compiles so fast that even for big projects Makefiles may not be necessary. Free Download
Intel C++ Compiler application is a full fledged C/C++ compiler and debugger suite. Free Download
Java Brainfuck Compiler is an optimising Brainfuck to Java bytecode compiler. Free Download
Mumps is a general purpose programming language that supports a native hierarchical data base facility. Free Download
4tH is a Forth compiler with a little difference. Free Download
Aubit 4GL compiler is a project to make a free Informix-4GL compatible compiler. Free Download
The Glasgow Haskell Compiler is a compiler for Haskell 98. Free Download
Tiny Tiny RSS Notifier is a notifier for your custom install of Tiny Tiny RSS. Free Download