Hacker News new | past | comments | ask | show | jobs | submit login

With GCC/clang can just add checking with -fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error.

For my main software project, which is some numerical software for magnetic resonance imaging, this adds 12212 checks and the optimizer reduces them down to 3803. But I haven't done benchmarking yet, but I would guess that for most software it would not matter.






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: