Safe method wont check dangling pointer?

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 15 11:33:19 PDT 2014


Am 15.04.2014 13:05, schrieb bearophile:
> Paulo Pinto:
>
>> Except, as far as I am aware, they only work on GNU/Linux and Mac OS
>> X, leaving out all other operating systems out there.
>
> Is "-fsanitize=integer" not available in the Windows version of Clang?
>
> Perhaps it's a good idea to create something similar to the sanitizers
> (the memory one, etc) that work on all D compilers.
>
> Bye,
> bearophile

I had the idea that they require some kind of OS MMU API support, which 
neither Windows, nor commercial UNIX or embedded OS offer.

Maybe I am wrong as I just saw some LLVM presentations about it and 
currently only code C++ occasionally so I don't follow everything in C++ 
world.

--
Paulo


More information about the Digitalmars-d mailing list