emscripten-core/emscripten

Sanitizers with dynamic linking

Aberta

#13.184 aberto em 4 de jan. de 2021

 (1 comentário) (0 reação) (0 responsável)C++ (3.519 forks)batch import
help wantedwontfix

Métricas do repositório

Stars
 (27.361 estrelas)
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