Linux上でwine+valgrind or AddressSanitizerとか
Windows上のまともなメモリ破壊検出ツール知らないけどあるの?