4 ms·
We need a doomcc that will replace all undefined behavior with doom. A more fun version of ubsan if you will.
by account42 4y ago
We need a doomcc that will replace all undefined behavior with doom. A more fun version of ubsan if you will.
- nayuki 4y agoThanks for inadvertently realizing my prediction. > When a C or C++ program triggers undefined behavior, anything is allowed to happen in the program execution. And by anything, I really mean anything: The program can crash with an error message, it can silently corrupt data, it can morph into a colorful video game, or it can even give the right result. -- https://www.nayuki.io/page/undefined-behavior-in-c-and-cplusplus-programs https://www.nayuki.io/page/undefined-behavior-in-c-and-cplus...