| Issue |
175778
|
| Summary |
Sanitizer: Alternative to asan.supp (asan.keep)
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
cbenazet
|
Hi,
Here's a repost of https://github.com/google/sanitizers/issues/1872
I'm using sanitizer with pytest to find leaks in my software through its tests. Pytest generates a lots of Python leaks, so I would like to filtered them. I've tried to use the asan.supp solution but it seems not to fit my need because I'm looking for leaks in my C software interfaced in Python.
So, for example, I've tried to supp the "function_code_fastcall" leaks, but it filter a C leaks because it's in the stack.
Instead of suppress stacks when a symbol or function is present, is it or would it be possible in sanitizer, to keep only stacks from library function match (for example: leaks:my_lyb_* to get stacks with function of this library) ?
I will add that I would be able to filter the error output of sanitizer to find leaks of my library (grep or other solution), but I'm limited by the sanitizer leaks limit that I am encountering https://github.com/google/sanitizers/issues/1871
Thanks in advance for rep !
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs