21st IOCCC Source Code Released 24
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!"
OS doesn't matter. (Score:2, Offtopic)
Surprisingly cool Re:OS doesn't matter. (Score:5, Interesting)
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:
I looked at some of the source files (Score:1)
Re: (Score:2)
Re: (Score:3)
Underhanded was always more interesting (Score:5, Interesting)
Very clever stuff but I always found The Underhanded C Contest [xcott.com] much more interesting. Sadly the last one of those was in 2009. I'd love to see that return.
Re: (Score:2)
First impressions (Score:4, Informative)
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.
Re: (Score:1, Insightful)
When you said: "I've only glanced at the files, and I'm far too amateur to understand them" you should have stopped right there. The fact that you don't understand then should have been your clue that your so-called "at first glance" was steeped in ignorance. From there you compounded your ignorant post with even more uninformed dribble. And the fact that your post was rated "4, Informative" shows that there exist too many /. folk with rating points who rate ignorant postings like your post with the most bi
Re: (Score:2)
Yeah... I have to admit even the 'deobfuscated' versions of the source code are gibberish to me, so it is quite obvious that the ascii-art is nothing more than icing on the cake.
Re: (Score:2)
Re: (Score:1)
When you said: "I've only glanced at the files, and I'm far too amateur to understand them" you should have stopped right there.
Seriously?!?! just because I've never built a bridge, I can't say "that bridge could be better"
The guy qualified his oppinions and asked people for more information (and didn't post as AC). I see no problem. Keep it up chebucto.
Also thanks to DMUTPeregrine below who actualy addresses the issue (I was curious too).
Re: (Score:2)
If you have been hacking for a week to squeeze a complex program into 2 kB (excluding whitespace), which by itself will lead to hard-to-read code, then spending another half hour on creative formatting is just the icing on the cake. Actually, the contest rules state that ascii obfuscation doesn't count towards the scoring; the jury will run it through a C beautifier anyway.
That said, the program endo
who needs a contest; go to any university (Score:3)
... 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 :)
Obfuscated webpage (Score:3, Insightful)
endoh2.c (Score:1)
Re: (Score:2)
It is a thing of beauty. OMG - that is real skill.
Author’s comments:
Yeah, “Again”. Sorry. But I don’t feel guilty or uncomfortable.
This entry is based on ‘over-used themes’ such as self reproducing program and pi or e computation. I know you’re tired of them.
But have you ever seen all-in-one?