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:

贡献者指南