emscripten-core / emscripten-core/emscripten
Sanitizers with dynamic linking
Open
help wanted
wontfix
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hi,
it would be great if it would be possible to use sanitizers with dynamic linking. Currently, when I pass `-fsanitize=leak` (for example) to the `emcc` command of my `MAIN_MODULE`, Emscripten outputs:
```
emcc: error: LSan does not support dynamic linking
```
Specifically, I would like to test my application for memory leaks.
Thanks for your great work! :+1:
Contributor guide
Assessment
This issue has not been assessed yet.