March 13, 2018 Using Address Sanitizer in LDC | ||||
---|---|---|---|---|
| ||||
Can I use address sanitizer (ASan) in LDC 1.8 to find use of uninitialized memory in, in my case, a set of containers, currently https://github.com/nordlow/phobos-next/blob/master/src/open_hashmap_or_hashset.d If so, what arguments should I feed to ldc2's -fsanitize=<checks> -fsanitize-blacklist=<file> -fsanitize-coverage=<type> on the command-line and in my dub.sdl ? |
March 13, 2018 Re: Using Address Sanitizer in LDC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Tuesday, 13 March 2018 at 15:12:02 UTC, Nordlöw wrote: > Can I use address sanitizer (ASan) in LDC 1.8 to find use of uninitialized memory in, in my case, a set of containers, currently > > https://github.com/nordlow/phobos-next/blob/master/src/open_hashmap_or_hashset.d > > If so, what arguments should I feed to ldc2's > > -fsanitize=<checks> > -fsanitize-blacklist=<file> > -fsanitize-coverage=<type> > > on the command-line and in my dub.sdl > > ? Ahh, found it at http://johanengelen.github.io/ldc/2017/12/25/LDC-and-AddressSanitizer.html |
Copyright © 1999-2021 by the D Language Foundation