RSSAmplifier

Blog

Code Explainer

Interesting snippets of code taken apart for your viewing pleasure.

codeexplainer.wordpress.comRSS feed ↗10 posts

Latest posts

Blog Moved – Update your bookmarks!

Please update your bookmarks new articles will be posted at https://kamilborys.com/blog/ from now on.

New year, new platform

I have decided to move my content to a different platform details to follow very soon.

Let the music play

Good news for all International Obfuscated C Code Contest fans here s another winning piece from 2013 written by Yusuke Endoh, who is no stranger to the Contest. It is dubbed the Most Tweetable 1-Liner, because is small enough to Continue reading

Dots and Dashes

Perl is (in)famous for the ability to write programs that look like line noise, and today I will take apart this beautiful piece of code. Written by tybalt89, it can decode sequences of dots and dashes to Latin letters in Continue reading

Anatomy of the heart

This heart-shaped program is written in the language of choice for producing unreadable and obfuscated code: Perl 5. It also serves an unusual purpose of a proposal. Who wrote the code? The code was published on PerlMonks in 2004 by Continue reading

Have fun with Unix

Just one line of code, but lots of confusion. What does this program do? Who wrote this code? The code won the Best One-Liner prize at the IOCCC in 1984. It was written by David Korn, who is also the Continue reading

Some are more equal than others

And to avoid the tedious repetition of these words: is equal to: I will set as I do often in work use, a pair of parallels, or Gemowe lines of one length, thus: =, because no 2 things, can be Continue reading

How to dismantle a compiler bomb

You have heard of zip bombs (a tiny ZIP file that decompresses to multiple gigabytes) and XML bombs (small XML file abusing the entities to consume lots of memory), and now there is a compiler bomb to follow suit. The Continue reading

Namaste India

This obfuscated piece of C code prints the map of India to the standard output. Who wrote this code? The author is unknown. I have found the code on Quora while searching the web for interesting code snippets. (If you Continue reading

Regex prime checker

This Java snippet uses a regular expression for something way different than they were designed for: a primality check. Who is the author? After some digging I found out that the original author is Abigail and the code was originally Continue reading