Тёмный

A Competition for Unreadable Code? 

LaurieWired
Подписаться 101 тыс.
Просмотров 156 тыс.
50% 1

Let's explore the winning submissions of The International Obfuscated C Code contest! Held every year, the IOCCC is a celebration of the syntactical quirks and unique features of C, encouraging submitters to create the most unreadable and unique code possible.
In this video, you'll also learn how to quickly deobfuscate IOCCC submissions using various reverse-engineering tricks, turning the indecipherable syntax into something more human-understandable.
---
IOCCC website: www.ioccc.org/
---
Timestamps:
00:00 Unique C features
03:05 Demangling a Death Star
06:45 A Reverse Engineer's Secret Weapon
07:59 Crazy Time
09:44 An interesting Grid
---
LaurieWired Socials:
linktr.ee/lauriewired
---
Intro Music Courtesy of Analog Summer:
• Velocity Rush by Analo...

Наука

Опубликовано:

 

13 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 383   
@OhhCrapGuy
@OhhCrapGuy 2 месяца назад
I'm a little sad she didn't mention the most coveted prize in the contest, "Best Abuse of the Rules", usually awarded when someone finds a way to so horrifically abuse the rules that they have to be changed going forward. In 1994, "smr" submitted the smallest self-reproducing program, a program that, when executed, outputs it's own source code. He achieved this by creating a source file, the only source file in the submission, which was 0 bytes long. Exactly 0 bytes. It was empty. However, due to clever abuse of the Makefile, the compiler still output an executable. An empty one. What did it do? Nothing. It just instantly exited. But it's output of absolutely nothing was technically all of his source code.
@kxmode
@kxmode 2 месяца назад
If Seinfeld was a programmer
@OhhCrapGuy
@OhhCrapGuy 2 месяца назад
@@kxmode not entirely sure how this implicates smr in being weirdly into concerningly young teenager girls, but sure, alright.
@girlswithgames
@girlswithgames 2 месяца назад
do you have a link to this? would love to know what he did in the makefile lol
@SDRicky
@SDRicky 2 месяца назад
Her voice is sweeter than honey 🍯.
@kxmode
@kxmode 2 месяца назад
@@OhhCrapGuy Seinfield was known for episodes about nothing.
@ersetzbar.
@ersetzbar. 2 месяца назад
I had a coworker who did a novel way of sorting his code... he ordered them by string length, making his code look like a christmas tree... in production
@mountainsmakemehorny
@mountainsmakemehorny 2 месяца назад
Did it look pretty?
@EpicNicks
@EpicNicks 2 месяца назад
@@mountainsmakemehorny asking the important questions
@liquidsonly
@liquidsonly 2 месяца назад
I approve.
@denilsonwerling1660
@denilsonwerling1660 2 месяца назад
This is so funny, definitely going to mention it to my coworkers. It seems coding that sort of program, is the right order to deliver the joke!
@vizualyse
@vizualyse 2 месяца назад
One could say, your coworker did it in a "Noël" way...
@TomS699
@TomS699 2 месяца назад
My college professor won this 2 times. He loved talking about it
@ammdres
@ammdres 2 месяца назад
Do you have the links to his submissions? I would love to see them
@plaintext7288
@plaintext7288 2 месяца назад
@ammdres Me too
@ninocraft1
@ninocraft1 2 месяца назад
i would also boast about this, what an achievement 😂❤
@TheKhalamar
@TheKhalamar 2 месяца назад
They have the opposite contest for Perl. The goal is to write code that people can actually understand.
@everyhandletaken
@everyhandletaken Месяц назад
It's been running 30 years & still yet to have a winner? 😅
@victotronics
@victotronics Месяц назад
Oooo Burn!
@Yeyeyatetete-sj2wz
@Yeyeyatetete-sj2wz 28 дней назад
I remember someone once said that Perl is unique in that it's just as readable before and after encryption.
@joshua43214
@joshua43214 7 дней назад
In my previous job, we had a Pearl scrip to compiling data from a piece of lab equipment. I noticed one day that it was not always working as intended. It was nearly 800 lines of code. I rewrote it in Python in under 50 lines. Not only did it run about 10 times faster, it was actually comprehensible.
@soyasuki4531
@soyasuki4531 2 месяца назад
"Obfuscated Code" - Or as my predecessor called it "Production Code".
@switchi8663
@switchi8663 2 месяца назад
this cracked me up man good job
@n.-_
@n.-_ 2 месяца назад
the cobol experience
@1Lll_llllllLLLLllllll_llL1
@1Lll_llllllLLLLllllll_llL1 2 месяца назад
😂
@amigalemming
@amigalemming 29 дней назад
job security
@6infinity8
@6infinity8 16 дней назад
@@amigalemming Exactly, if you master the art of obfuscating code you're guaranteed to never get fired (unless of course the company goes not-stonks).
@astropgn
@astropgn 2 месяца назад
Oh, I didn't know I could submit all of my code to the IOCCC. My files look so bad, I am probably a great contender.
@godnyx117
@godnyx117 2 месяца назад
Oh boy, you won't imagine! There is ALWAYS someone more crazy...
@ABCABC-sw8mh
@ABCABC-sw8mh 2 месяца назад
😂
@ABCABC-sw8mh
@ABCABC-sw8mh 2 месяца назад
My code: } ;0 nruter {)(niam tni
@kyuuketsukikun420
@kyuuketsukikun420 2 месяца назад
"my code is self obfuscating"
@aniksamiurrahman6365
@aniksamiurrahman6365 2 месяца назад
From now onward, I'll end of my main() functions as "piss out".
@vicsar
@vicsar 2 месяца назад
I dare you.
@zaper2904
@zaper2904 2 месяца назад
change it to piss off instead.
@oconsertador9021
@oconsertador9021 2 месяца назад
Could you put "fuck you", instead?
@yascilisaowsyj8636
@yascilisaowsyj8636 2 месяца назад
piss be upon you
@ares395
@ares395 2 месяца назад
The aesthetic of this video reminds me of some 2000s computer gaming news etc. program that you randomly stumble upon while watching TV and never find it again.
@tritoner1221
@tritoner1221 2 месяца назад
The intro graphic is from Serial Experiments Lain. The general presentation of the video is also reminiscent of the show's unique style.
@jnharton
@jnharton Месяц назад
It's literally imitating the interface from Mac OS 8, 9.
@ares395
@ares395 Месяц назад
@@jnharton Bold of you to assume I've ever seen Mac OS 8, 9.
@zerron2156
@zerron2156 Месяц назад
​@@ares395Quite bold indeed
@MrStarTraveler
@MrStarTraveler 2 месяца назад
The "peace out;" got me rolling on the floor! XD
@mohammedgoder
@mohammedgoder 2 месяца назад
#include "cstdio" #define ever (;;) int main() { for ever printf("no. just no."); }
@MrStarTraveler
@MrStarTraveler 2 месяца назад
@@mohammedgoder Rofl 🤣
@MrBarberousse
@MrBarberousse 2 месяца назад
The creator of Perl, Larry Wall won 2 prizes in the IOCCC. His initials are LW just like Laurie Wired. Coincidence? Who knows!
@Turalcar
@Turalcar 2 месяца назад
Did you ever see them in the same room?
@filker0
@filker0 6 дней назад
@@MrBarberousse I used to know Larry Wall when I worked at DEC in the early 1980s and he had a lisp interpreter which could be compiled with DECUS C. I was hanging out with Martin Minnow and Dave Conroy at the time, so had a lot of contact with some very impressive people.
@john.dough.
@john.dough. 2 месяца назад
I love the aesthetic of your videos, combined with your clear expertise and knowledge. Thanks for sharing! :]
@vicsar
@vicsar 2 месяца назад
Yeah, no doubt. Do what you enjoy, for sure. Respect!
@fios4528
@fios4528 2 месяца назад
I'm really curious how much time the set design took
@Kammreiter
@Kammreiter 6 дней назад
She’s definitely a very talented teacher ❤
@ayonsamajder
@ayonsamajder 2 месяца назад
indeed programming is an art
@illegalsmirf
@illegalsmirf 2 месяца назад
more like a fart
@tjairicciardi9747
@tjairicciardi9747 10 дней назад
this is awesome !! The production quality is unmatched
@kadse417
@kadse417 2 месяца назад
Just write it in C++ - obfuscation enough.
@mjthebest7294
@mjthebest7294 2 месяца назад
L M A O
@ThisShitWontWor
@ThisShitWontWor 2 месяца назад
Nah rust is way more unreadable than c++
@literallynull
@literallynull Месяц назад
more like rust
@demolazer
@demolazer 23 дня назад
When asked why you are coding something, 'Because I CAN' is an acceptable answer .
@joseph-montanez
@joseph-montanez 2 месяца назад
"This makes C a great candidate for creating some really unreadable code" - Flashbacks of Coldfusion from Adobe
@kiwi84
@kiwi84 2 месяца назад
I’ve been falling out of computer science for a while now cause of college burnout but your videos have relit my computer science flame! Its crazy the difference that good presentation and teaching can make. Keep up the great work 😃
@fios4528
@fios4528 2 месяца назад
I'm genuinely floored by the production quality of these videos and your ability to communicate so effectively
@damianzielinski71
@damianzielinski71 Месяц назад
After watching One short of yours I was pissed at you, but I wanted to give you a Chance and I watched this video. You've impressed me , and I love the way you speak your voice is calming and it makes enjoyable to watch your videos so now I just have to subscribe 😅❤❤ Greetings from Poland, Laurie 🎉❤
@merthyr1831
@merthyr1831 Месяц назад
The production quality you've got going on is insane. love watching your vids!
@victotronics
@victotronics Месяц назад
Finally some respect for bad coding! No seriously, I've been following this for decades. It's mindblowing.
@trevorkirby3781
@trevorkirby3781 2 месяца назад
Glad to see the obfuscated c competition is still going. My favourite was always the love letter exchange.
@Mustachioed_Mollusk
@Mustachioed_Mollusk 2 месяца назад
Im in love, seems like there are so many high quality channels lately!
@Guidoev2
@Guidoev2 2 месяца назад
I've only watched the first 30 secs of your video and I'm already convinced you deserve more views and subscribers than you already get!! Just love the aesthethics and the vibe!!
@the-pink-hacker
@the-pink-hacker 23 дня назад
Your channel has the vibes of Bill Nye but computer science themed instead. Very unique and love it!
@052Ryder
@052Ryder 2 месяца назад
I legit came across live game code that did the following: #define f*** return #define sh** ; It was a cpp file that contained many methods returning pointers to 'this'. Fun times. P.S. You are a gift to the engineering world Laurie
@Ari-ez1vj
@Ari-ez1vj Месяц назад
I feel like I just dropped a tab of acid , expanded my brain, and watched an episode of serial experiments lain
@plaidchuck
@plaidchuck Месяц назад
Hey Laurie based on your LinkedIn you've only been out of school a few years yet have some insane comp sci knowledge. Aside from internships and your current role how much experience did you have with code/computers before going to college? Did you learn the bulk that you know from college. Just an old head looking to get into programming. Teach us young grasshopper!
@filker0
@filker0 2 месяца назад
I used to enter the obfuscated C competition back in the 1980s. I never came close to winning, but I did my worst, which is all that can be reasonably expected. There are better tools for unubfusticating the contest entries. "indent", "astyle", and other source code reformatting utilities, "cpp" for doing macro expansion, "m4" and "awk" round out the toolkit. Around 1989-1990 I wrote a C code obfusticator and posted it to alt.sources. Unfortunately, it didn't handle ANSI C function prototypes and used semantic dirty tricks that are not portable across pre-ANSI compilers and in places conflict with ANSI additions to the C language grammar.
@hekero
@hekero 2 месяца назад
I LOOOOVE the channel graphics and branding. Awesome!
@Kris-qn4bn
@Kris-qn4bn 2 месяца назад
Amazing video idea, with amazing video quality! Thank you for your work!
@dIancaster
@dIancaster Месяц назад
Your videos are such a pleasure to watch.
@internetplumber
@internetplumber 2 месяца назад
Hah, good to see this, I was thinking of the IOCCC whilst watching the Asuka Roasts video the other day...
@PirateDion
@PirateDion 2 месяца назад
What a odd gem to find for a subject I know little about but I'm interested in learning. You made a video of code compelling enough to watch with a nice thematic style of old school computer interfacing. Looking forward to more. Subscribed :).
@toxidron2880
@toxidron2880 Месяц назад
Love the aesthetics of your videos 😎
@OldieBugger
@OldieBugger 13 дней назад
When I was doing programming as my job (in C), I sometimes had to fix the errors made by someone else. There were times I could do it faster by just rewriting all of the code, rather than deobfuscating the original code. Some people!
@maxmustermann5590
@maxmustermann5590 2 месяца назад
How have I never found this channel before. Love the content!!
@agg5324
@agg5324 2 месяца назад
I love the vibe of this channel
@yanikb.1312
@yanikb.1312 2 месяца назад
Title: unreadable code competition Me: oh boy sounds like the IOCCC
@emmettdja
@emmettdja 2 месяца назад
that clock program was insane
@fredrikbergquist5734
@fredrikbergquist5734 7 дней назад
When I saw the title of this vid I immediately knew that it was C code, no language is better for this than C! But my favourite language for obfuscating as it is, is Prolog or maybe Lisp!
@anon_y_mousse
@anon_y_mousse 2 месяца назад
My favorite is still Banks' entry from 1998. Shaped like an airplane and it's a primitive flight sim. Although, not all of the entries will still compile on modern computers. Take for instance some of the older ones that did code injection on PDP's and the like.
@jawad9757
@jawad9757 2 месяца назад
I love [ab]using C macros as if they're C++ templates
@ammdres
@ammdres 2 месяца назад
I love so much the style of your videoss and also your setup
@sheykenasababy
@sheykenasababy 2 месяца назад
This channel's became one of my favorites after 2 videos. I'd pay for this content.
@willitine
@willitine 2 месяца назад
Hi Laurie. Wow I love how you popped out from opening a app on the desktop! That’s pretty cool. For whatever reason the theme of you speaking like that in a pc window reminds me of Back to the Future The Ride when I was little. Awesome vibes! Anyhow interesting video. I’m gonna watch it now. Hope you are having a great day.
@mytechnotalent
@mytechnotalent 2 месяца назад
It is interesting how the macro looks so much more readable after you reformatted w/o \. Nice Job Laurie.
@kristenmgr
@kristenmgr 2 месяца назад
That intro was the final straw !!! I'm subscribing !!!
@Mathsky4
@Mathsky4 2 месяца назад
Hey Laurie.. it will be great if you can do "C programming" tutorial. I know there are tons of tutorials out there but your teaching capabilities are extremely good. If you have time plz consider.
@delibellus
@delibellus 2 месяца назад
Awesome content as always!
@svenvandevelde1
@svenvandevelde1 2 месяца назад
Thank you for sharing this interesting subject.
@saikat93ify
@saikat93ify 2 месяца назад
Wow, great video. I learnt something new. I participate in contests avidly and did not know about this.
@andymitchell2146
@andymitchell2146 2 месяца назад
I've been training for this all my life without knowing!
@brawldude2656
@brawldude2656 2 месяца назад
I'm in love with this competition
@AccurateBurn
@AccurateBurn 2 месяца назад
great video laurie, super interesting topic
@DavidLindes
@DavidLindes 2 месяца назад
Ahh, chongo strikes again! (Landon Curt Noll, usual username chongo, one of the founders of this, is someone I used to work with. Fun guy to interact with. And he did good by creating this, IMHO.) Thanks for exploring it a bit and sharing it with new audiences!
@danielpintard7382
@danielpintard7382 2 месяца назад
obsessed with the lain aesthetic, one of my favorite anime of all time and was a catalyst in developing my interest in computer science
@jeffandonuts3945
@jeffandonuts3945 2 месяца назад
F-ing wonderful find this channel has been - G bless you Laurie
@owlmanac
@owlmanac 28 дней назад
I did not expect to get flashbanged with lain references in my 2024
@OneEyedJack1970
@OneEyedJack1970 2 месяца назад
I almost lost my mind trying to decipher what in the hell temple of apshai was doing. This was back when I was 15 or 16 and trying to transfer my copy from cassette to disk. I got most of it to disk, but still had to load the fonts and levels from the tape drive.
@ing32
@ing32 Месяц назад
love the quality!
@shanehebert396
@shanehebert396 2 месяца назад
I worked with a guy who won in one of the IOCCC categories way back in the day.
@stacksmasherninja7266
@stacksmasherninja7266 2 месяца назад
these were great examples! if you wish to continue this series and want to take a look at more submissions, I highly recommend Nicholas Carlni's submission for tic tac toe! a video on obfuscating your code to look cool would also be great :) super happy to see ioccc here
@davidomar742
@davidomar742 2 месяца назад
don't wanna know what kind of hallucinogenic drugs you got to be on to do this type of programming lol
@KarlaKloppstock
@KarlaKloppstock 2 месяца назад
This is awesome, thanks Laurie! Good thing that one can make C code unreadable, while for few other languages that's the default.
@MrBoko1234
@MrBoko1234 2 месяца назад
the gameplay at the end caught me off guard lmao, great vid
@Slycooper2456
@Slycooper2456 2 месяца назад
She streamed Burnout Paradise last Saturday it has so many hilarious moments, its on her Twitch channel.
@denovo3949
@denovo3949 2 месяца назад
Love the background of your computer screen!
@patrick1020000
@patrick1020000 2 месяца назад
The Underhanded C Competition is also interesting, though it looks like it is no longer held
@henrycgs
@henrycgs 2 месяца назад
I remember having loads of fun with the preprocessor back in the day. I made a header file that turned C extremely verbose and told a friend that was just how it looked like
@Scott-SUP
@Scott-SUP 2 месяца назад
Hey Laurie, your exploration of unreadable code is fascinating! Keep inspiring us with your insights and discoveries. 🚀
@omd_0
@omd_0 Месяц назад
you make me love C, that's impossible 😂😂
@ruslankudriachenko5673
@ruslankudriachenko5673 2 месяца назад
Really cool video. The code is madness :)
@CyReVolt
@CyReVolt 2 месяца назад
What you see in the real world: A header file defining a 20 KB block of bytes that is memcopied and then executed, taking a pointer to a block of configuration data. Such blobs are what some vendors provide for integrating their secret stuff into your custom firmware.
@Ayelis
@Ayelis 2 месяца назад
Enjoying the Lain imagery in the intro! :3
@BlueIsLeet
@BlueIsLeet 2 месяца назад
6:10 idk if that's a 'fix', looks like it's a directive only meant to run on Win32 devices (from the ifdef), and it patches main to work on windows properly
@BurstingVeins1
@BurstingVeins1 2 месяца назад
I never realized that doing code in that way could be a thing, but then just looking at that code is driving my hyper efficient coding OCD insane.
@MegaMech
@MegaMech 2 месяца назад
You can sort of skip all of this by printing the preprocessor output to the console. If you want to see really unreadable code check out mk64 decomp.
@PointEndClick
@PointEndClick 2 месяца назад
This video is awesome.
@kilianlindberg
@kilianlindberg Месяц назад
11:35 a skilled move right-up-key sequence approx at ~25 ms delay
@GH-oi2jf
@GH-oi2jf 2 дня назад
I can't relate to this. Most programmers write code that is hard to follow. We ought to be encouraging code that is easy to follow. Long ago, someone told me my (assembly language) code "read like a book." I remember it as one of the best compliments I ever received.
@LutzHerting
@LutzHerting Месяц назад
Contest for "The most unreadable C code"? Coming up next: Contest for "The most unhealthy poison", followed by "The most unbreathable liquid".
@devinlauderdale9635
@devinlauderdale9635 2 месяца назад
Laurie, where do you get that windows xp era theme from???
@Nekro9000
@Nekro9000 2 месяца назад
this has to be the most insane glow up i've ever seen
@TarasZakharchenko
@TarasZakharchenko 2 месяца назад
Great OS of your choice!
@robward8247
@robward8247 6 дней назад
very cool
@maximeduvaut1389
@maximeduvaut1389 2 месяца назад
Your keyboard sounds great !
@yayz_
@yayz_ 2 месяца назад
As someone new to C "This is starting to look like a real C program" made me laugh and then cry.
@colley001
@colley001 Месяц назад
I remember the International Collegiate Programming Contest when I was seven. FORTRAN I think, used it to drive a small robot. That was long before 1980. I thought they were the longest running?
@tenv
@tenv 2 месяца назад
Great videos! It's so satifying to see you clean up and decipher stuff like this. You should consider ricing your desktop to go with the rest of your video aestetic, on Linux I'm sure there must be some DE that can recreate the kinds of faux-windows you have for your intro/webcam.
@Vancer876
@Vancer876 2 месяца назад
Yeah I was wondering why she uses windows
@Kammreiter
@Kammreiter 6 дней назад
🤔 as she works for Microsoft
@tenv
@tenv 5 дней назад
@@Kammreiter didnt know she works for Microsoft, but I'm guessing it wouldnt be a problem since this channel is a personal project
@enidiagu8124
@enidiagu8124 Месяц назад
the very begining while meeting this code: ctrl + A + K & ctrl + A + F
@heisthazey7311
@heisthazey7311 2 месяца назад
good work on the editing as of late - the transitions between content and animation have gotten much faster and it feels very tight. I really enjoy the production value of your channel ty!
@fallinginthed33p
@fallinginthed33p 2 месяца назад
The demo scene back in the day produced insane graphics directly using assembly. Now code optimization is used for malware 😅
@Sven_Dongle
@Sven_Dongle Месяц назад
Are method signatures declared before the implementation still called "prototypes", or is that ye olde tyme lingo now?
@NewLondonMarshall
@NewLondonMarshall 2 месяца назад
I love your channel :)
@dasha4627
@dasha4627 2 месяца назад
fellas if you think she is an AI maybe leave the house a little more often
@JohannesDavidsen2024
@JohannesDavidsen2024 2 месяца назад
That's cool snake, very nice 👍
@miss_nainuu
@miss_nainuu 2 месяца назад
Nice new look😁
@alastairkmbarron6154
@alastairkmbarron6154 2 месяца назад
fantastic video theming this is so cool
@soliez0xff
@soliez0xff Месяц назад
This snippet from Beej’s Guide to C references a submission to ioccc: “No point in wasting words here, folks, let’s jump straight into the C code: E((ck?main((z?(stat(M,&t)?P+=a+'{'?0:3: execv(M,k),a=G,i=P,y=G&255, sprintf(Q,y/'@'-3?A(*L(V(%d+%d)+%d,0) And they lived happily ever after. The End. What’s this? You say something’s still not clear about this whole C programming language thing?”
@hydrogen5087
@hydrogen5087 2 месяца назад
How do I get that task bar? Please help!
Далее
Deciphering Obfuscated JavaScript Malware
31:12
Просмотров 72 тыс.
What ACTUALLY happens during a Stack Overflow?
12:43
Просмотров 138 тыс.
Despicable Me Fart Blaster
00:51
Просмотров 13 млн
A Day in the Life of a Software Engineer... WFH
9:24
The Man Who Solved the World’s Hardest Math Problem
11:14
Premature Optimization
12:39
Просмотров 770 тыс.
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Просмотров 84 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00