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.
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...