emscripten-core/emscripten

Sanitizers with dynamic linking

Open

#13.184 aperta il 4 gen 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C++ (3519 fork)batch import
help wantedwontfix

Metriche repository

Star
 (27.361 star)
Metriche merge PR
 (Merge medio 19g 10h) (147 PR mergiate in 30 g)

Descrizione

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:

Guida contributor