Open DDvO opened 3 years ago
I don't think our code uses Thread-local storage (TLS) directly, but some libraries may use it. Have you tried using a different compiler (e.g., clang instead of gcc or gcc instead of clang)?
There should not be anything special about memory leak detection in our code. Generic techniques should be applicable.
I did not find a configuration option (in the doc or configure script) on building with memory leak detection and using it. Would be good to add a hint on this at least to the Unix section of the build documentation.
Adding
-fsanitize=leak
to theCFLAGS
was promising, but when usingpkcs11.so
as crypto engine with the current OpenSSL master I get