3 ms·
Yeah, I never said it couldn't, I said the more helpful thing to say is that UB can cause what looks like dead code to not be dead. If that dead code includes,
by nmilo 4y ago
Yeah, I never said it couldn't, I said the more helpful thing to say is that UB can cause what looks like dead code to not be dead. If that dead code includes, an rm -rf, or, say, a function to enable/disable arbitrary pins on your chip, then yes, that dead code might be called, and with undefined parameters too. But saying UB will wipe your drive is just misleading and almost wrong.