emscripten-core/emscripten

Sanitizers with dynamic linking

Open

#13,184 opened on 2021年1月4日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)C++ (3,519 forks)batch import
help wantedwontfix

Repository metrics

Stars
 (27,361 stars)
PR merge metrics
 (平均マージ 19d 10h) (30d で 147 merged PRs)

説明

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:

コントリビューターガイド