Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No matter how I try to equivocate undefined behavior with invalid code, it has trouble sticking.

Try telling students to add -fsanitize=undefined to their compilation flags. That might help make it clear that their code is buggy.



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

Search: