21st IOCCC Source Code Released
First time accepted submitter johntromp writes "Source code for the 21st International Obfuscated C Code Contest was released last weekend, following announcement of the winners on Sep 30, and just over a month after the submission window closed on Sep 14, a new speed record for the judges. Happy source code browsing!"
This is one of those cases where opening the source does not really mean anything.
May Peace Prevail On Earth
That is just nuts. Must be a bitch to debug.
I'm not in love
So don't forget it
It's just a silly phase I'm going through
And just because
I call you up
Don't get me wrong, don't think you've got it made
I'm not in love, no no, it's because
I like to see you
But then again
That doesn't mean you mean that much to me
So if I call you
Don't make a fuss
Don't tell your friends about the two of us
I'm not in love, no no, it's because..
I keep your picture
Upon the wall
It hides a nasty stain that's lying there
So don't you ask me
To give it back
I know you know it doesn't mean that much to me
I'm not in love, no no, it's because..
Ooh you'll wait a long time for me ...
Selected Judges Remarks:
This is an extremely subtle and twisted piece of Gold award winning code!
The judges had spent a considerable amount of time analyzing this entry. At one point we spent 18 minutes just to understand 18 key characters of this code.
The file zeitak_deobfucate.c provides a version that has been slightly deobfuscated. You may find reading that file helpful in your attempt to understand this extremely subtle entry.
Author’s comments:
Nesting Errors Detector
What does it do
As you have probably understood by looking at the source*, this program has something to do with parenthesis (and equality of opening and closing parenthesis, if you look close enough). It goes over the file given to it and checks that every opening (, [, or { has a matching closing one and vice versa. It also checks that every “ or ‘ is closed.
If an error is detected, an error message will be printed. If the problem is a superfluous closing bracket, it will even print a few characters around it’s position.
Make sure you view the source with 4 spaces tab width.
Features
Ignores parenthesis inside strings or character constants, so no errors will be detected in the following line:
Doesn’t get confused by the 1984/anonymous entry!
Mis-Features
Escapes (e.g. \") are ignored, so the following line will produce an error:
Obfuscation
IOCCC winners already contain entries without digits, control-flow keywords and certain operators in their source. This entry has an even more limited source, that is:
Very clever stuff but I always found The Underhanded C Contest much more interesting. Sadly the last one of those was in 2009. I'd love to see that return.
I've only glanced at the files, and I'm far too amateur to understand them. That said, it seems at first glance that a bit too many of the entries relied in part on turning code into ascii art. There was an entry a few years ago that calculated pi by the shape of the source file code, that was neat.. but if the whitespace is there just to look cool and break up lines, then that part of the obfuscation is 2nd rate obfuscation, in my not so well deserved opinion. Still, very very good to see the IOCCC make quick work and bring us the goods.
The English word fart is one of the oldest words in the English vocabulary.
These aren't the droids you're looking for Mr. Spock!
... while i've always been a fan of IOCCC contests, when i was teaching C programming - most of the students source code could be considered entries to such a competition :) gone are the days where we used to write clean, understandable code. i always joke when doing presentations about the fact that the reason why most people are afraid of C as a programming language is because other people write horrible C.. if you write good, clean, understandable C - it is an excellent language :)
Who the hell thought blue links on a dark green background was a good idea?
systemd is Roko's Basilisk.
I didn't look at all the entries, but endoh2.c is beautiful!!
Track IP - Remotely track the IP address of a machine via email or MySQL.