add LSAN support
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
--------------------------------------------------------------------------------
#### 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.
Contributor guide
Research direction
Start with the ./asan_device_setup entry point and the reported Android 7.1.2 userdebug environment on a Google Pixel. Determine whether LeakSanitizer is supported alongside AddressSanitizer for this setup; done means the support status and any required behavior are established for detecting simple memory leaks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev, security, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100