Issue 175777
Summary Sanitizer: Bypass too many leaks
Labels new issue
Assignees
Reporter cbenazet
    Hi,

Here's a repost of https://github.com/google/sanitizers/issues/1871

I'm using sanitizer with pytest to find leaks in my software through its tests. Pytest generates a lots of Python leaks so in my error log I have the "Too many leaks! Only the first 5000 leaks encountered will be reported" message.

My first question is how are the 5000 leaks selected ? 5000 biggest leaks ? 5000 first ?

Then, I would like to bypass this limits in order to be sure that I'm not missing any leaks from my c software interfaced in Python.
I've tried to "export LSAN_OPTIONS=max_leaks=0" but it seems not to work.

Thanks in advance for rep !
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to