3 ms·
So my 5k lines of C code project from back in college is all... undefined?
by spoonfeeder006 3y ago
So my 5k lines of C code project from back in college is all... undefined?
- lmm 3y agoAlmost certainly. Of course the only way you'll find out is when you upgrade GCC and it suddenly leaks the contents of your memory to the whole world.
- kaba0 3y agoNo need to wait for that, running it through valgrind will surely uncover some UBs (but do note that even if it didn’t uncover anything, it doesn’t prove their absence, only that this particular run through the state space didn’t encounter any valgrind looks for).