emscripten-core / emscripten-core/emscripten

Sanitizers with dynamic linking

Open
#13,184 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.