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

Well with the help of `-fsanitize=address,undefined` flag, it can possibly catch it.

If you use the aforementioned flag and still face this issue, then you can try `-fanalyzer` combined with `-Wanalyzer-too-complex` and hopefully the static analyzer will return something.

For more info, read https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: