On Sunday, 29 November 2020 at 16:05:04 UTC, Mark wrote:
Thanks a lot for reading, and sorry for a lot of text that is off-topic and is not related to D.
Sounds like what you want is ASAN? You can use it with plain C or D(LDC).
https://clang.llvm.org/docs/AddressSanitizer.html