emscripten-core/emscripten

Sanitizers with dynamic linking

Open

#13,184 建立於 2021年1月4日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C++ (3,519 fork)batch import
help wantedwontfix

倉庫指標

Star
 (27,361 star)
PR 合併指標
 (平均合併 19天 10小時) (30 天內合併 147 個 PR)

描述

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:

貢獻者指南