direct/indirect leaks
Closed this issue · 3 comments
Trass3r commented
Does/could vld distinguish between direct and indirect leaks like LeakSanitizer does?
ioannis-e commented
How do you define direct and indirect leaks?
Trass3r commented
Well if A owns a n instance of B (say unique_ptr) and A is leaked B will also indirectly be.
I don't know how exactly they define/implement it though.
https://github.com/llvm-mirror/compiler-rt/search?q=kIndirectlyLeaked
KindDragon commented
No, it can't distinguish that leaks. We monitor only allocation, LeakSanitizer/Valgrind monitor all memory