Ancestors

Toot

Written by lcamtuf :verified: :verified: :verified: on 2025-01-10 at 18:34

C pro trick! Let's say you have code like this, and you want to comment out a block of code - let's say, lines 5 to 7 - with some nested comments. A pain, right?

=> View attached media

=> More informations about this toot | More toots from lcamtuf@infosec.exchange

Descendants

Written by lcamtuf :verified: :verified: :verified: on 2025-01-10 at 18:35

Well, not anymore -- not with my patented POWER COMMENT technique!

https://godbolt.org/z/nEqhbhbse

=> View attached media

=> More informations about this toot | More toots from lcamtuf@infosec.exchange

Written by Goblin on 2025-01-10 at 18:38

@lcamtuf

Your C is inspirational.

=> View attached media

=> More informations about this toot | More toots from goblin@crispsandwi.ch

Written by Tobias Frech on 2025-01-10 at 20:55

@lcamtuf I didn't know something like this was possible. That means static analysis on C source code is basically useless?

=> More informations about this toot | More toots from TobiasFrech@ijug.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113805498850380289
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
266.995254 milliseconds
Gemini-to-HTML Time
0.606798 milliseconds

This content has been proxied by September (ba2dc).