-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add LSAN support #431
Comments
I'm actually not sure. LSAN is part of ASAN iirc, but idk if that's true for Android. @eugenis or @stephenhines would know. |
Not yet, sorry. See google/sanitizers#379 |
@eugenis Is there any timeline for Leak Sanitizer support in Android? |
I'm sure a lot of people are looking forward to this. |
@stephenhines: is this on the roadmap for the platform/toolchain? |
No, we have no timeline for when LSan will be available in Android. |
@stephenhines I have found LSan to be very useful in debugging memory leaks. Is there not enough demand for LSan on Android ? |
It just isn't a priority at this time. We don't have the ability to take on every project that could be helpful. |
Ok. I understand. |
Judging by google/sanitizers#379 (comment) and https://reviews.llvm.org/D85927 LSAN should now be supported on 30/31+? Is there any update on the NDK side? |
This is a feature request, and official support requires additional testing if we are going to advertise it in the NDK. I think that would be the biggest remaining blocker from considering this "Fixed". |
android still not support lsan yet? hope for a quick answer~ |
The quick answers are on this page. The bug is open and it's in the "unplanned" milestone. |
Description
Not sure if LeakSanitizer is supported on
on pixel with userdebug build android 7.1.2
Environment Details
Platform - OSX 10.12.5
Device - Google Pixel, userdebug build NJH47B android-7.1.2_r17
NDK 15.1.4119039
I was trying to use Address Sanitizer on Anroid, I built the 7.1.2 userdebug version on Pixel.
After run ./asan_device_setup, I was able to catch simple use-after-free, stack-overflow and heap-buffer-overflow. However, ASAN seems cant detect simple memory leaks, is LSAN enabled on Android now.
The text was updated successfully, but these errors were encountered: