Yesterday I wrote a C code that, for some values of the parameters, was just an obfuscated way of dereferencing the null pointer. GCC detected that and simply decided to generate the instruction UD (undefined instruction) on that execution path. It was fun to see the concept of “undefined behavior” taken so literally. 😋
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!