We are currently limited to having valgrind (which eg doesnt work on arm macs), https://clang.llvm.org/docs/LeakSanitizer.html should for -DSANITIZE as well