Hi, I’m trying to create a development environment and I want to enable the address sanitizer as part of my debug builds. However, I seem to miss the asan library:
$ g++ -fsanitize=address test.cpp
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
With test.cpp
simply containing int main() {}
I tried to look around in nixpkgs for address sanitizer but I can’t find anything relevant.
Thanks for the help!