Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Purposely obfuscated C
  
User name:
Password:
Reply:
 

UserPost
Parasyte
Posts: 496/514
You should see the source for my disassembler control. It actually contains spaces! And comments!
HyperLamer
Posts: 4329/8210
What's the point of this? Nobody can read your code anyway.
Parasyte
Posts: 491/514
It'a been done before, RT-55J. See smr.c on IOCCC.
RT-55J
Posts: 55/240
I'm too lazy to compile that program.
-
My insignificant contribution to this thread:

I present to you, THE UNIVERSE'S SMALLEST AND MOST EFFICIENT COMPUTER PROGRAM.



Yep, that's it.
MooglyGuy
Posts: 2/5
It says "Hello world". I figured it out myself via manual bit shifting.
Parasyte
Posts: 490/514
In honor of The IOCCC I decided one day to write my own obfuscated C program. So I started with a lot of random junk and modified it until it did what I wanted, then I revised the code quite a few times (5 times, to be exact). And finally, I ended up with what I'm going to consider my first obfuscated C program, which I named, "red owl":

main(){int a=0x1612b9b1;putchar((a>>16)<<2);do putchar("red owl"[a&7]);while(a>>=3);}


If you can't guess what it does, go ahead and run it. It's a very simple idea, and just an interesting take on an old trick.
Feel free to write and post your own odd creations, as well!
Acmlm's Board - I2 Archive - Programming - Purposely obfuscated C


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.