emscripten-core/emscripten

Sanitizers with dynamic linking

Open

#13.184 aberto em 4 de jan. de 2021

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (3.519 forks)batch import
help wantedwontfix

Métricas do repositório

Stars
 (27.361 stars)
Métricas de merge de PR
 (Mesclagem média 19d 10h) (147 fundiu PRs em 30d)

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:

Guia do colaborador