When you load lib asan ,then it fails with below error : Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
I loaded library using LD_PRELOAD ,then starting the process it fails as above mentioned error.
Thanks in advance.
-fsanitize
and valgrind with--leak-check=full
. They have to be run separately. – Diplomatic