Conversation

Shower thoughts: Since virtually every C/C++ program relies on undefined behavior somewhere (e.g. dlsym casts between void */void (*)(), BSD sockets), there have basically never been miscompilation bugs in the wild, technically speaking.
19
246
Replying to
this is funny but the actual situation is also funny: all real C and C++ applications are written in a non-standardized, undocumented programming language that closely resembles standard C and C++ but has less undefined behavior
6
139
Replying to and
I have some examples. I'd need to think about it to actually list some of them out. Happens with the standard library pretty commonly too, even with the most basic APIs like malloc/realloc/free. It's often the kind of stuff they deal with via defect reports.
1
4
Show replies