3 ms·
Oh man, that sounds rough. I salute you. This probably wasn't an option back then with your toolchain, but it's so reassuring to know modern compilers / ASAN a
by hoten 2y ago
Oh man, that sounds rough. I salute you.
This probably wasn't an option back then with your toolchain, but it's so reassuring to know modern compilers / ASAN are amazing at catching this class of bugs today.
- leni536 2y agoAFAIK ASAN does not catch uninitialized variables, MSAN does. MSAN is significantly harder to set up.
- JonChesterfield 2y agoBranch on uninit lights up beautifully in valgrind which has no set up, just run valgrind ./a.out
- leni536 2y agoGood point, although sometimes valgrind is too slow.