clang++ - Clangs SanitizerCoverage with shared libraries -
i having trouble in using sancov
tool of clang shared libraries.
while works documented simple binary not able work shared libraries.
whenever use shared library program *.sancov
file when try report sancov
receive following error message:
ignoring libmylib.so , coverage because __sanitizer_cov* functions not found.
it seems problem stems fact the sanitizer functions unresolved in shared library. not sure though.
nm libmylib.so | grep saniti
u __sanitizer_cov
u __sanitizer_cov_module_init
u __sanitizer_cov_with_check
can give me hint doing wrong?
Comments
Post a Comment