emscripten-core/emscripten

Sanitizers with dynamic linking

開放

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

 (1 則留言) (0 個反應) (0 位負責人)C++ (3,519 個分叉)batch import
help wantedwontfix

倉庫指標

星標
 (27,361 顆星)
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:

貢獻者指南