https://bugs.kde.org/show_bug.cgi?id=455826

--- Comment #8 from shapath <meeee...@gmail.com> ---
Thanks, Philippes for the response.

So does this means that Valgrind will report false positives for LDL if
structure packing is used?
As I mentioned this is a third-party code and structure packing is used for
many structures which are used extensively to save memory.
and it reports leaks at all these places.

Is there any flag or workaround available for this problem?

I googled and found that ASAN has a flag that helps to bypass this problem.
https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer


" use_unaligned 0       If 0, LSan will only consider properly aligned 8-byte
patterns when looking for pointers. Set to 1 to include unaligned patterns.
This refers to the pointer itself, not the memory being pointed at."

Is there any such solution that exists?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to