clang++ - Clangs SanitizerCoverage with shared libraries -


i having trouble in using sancovtool 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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -