So just enable this in your compiler

-fsanitize=address

The end.


Fork me on GitHub