[PATCH] Optional support for dynamic Asan runtime
tetra2005 at gmail.com
Wed Mar 12 01:33:03 PDT 2014
I think I found a reasonably robust way to detect that dynamic rt was either linked to exectable or preloaded (and thus can be used safely). I can simply check that it preceedes other dynamic libraries in list returned by dl_iterate_phdr. This would also prohibit dlopens.
Still not sure how to detect static/shared rt conflicts though.
More information about the llvm-commits