commit | 01713ee0c2f90a41ed22fd41a02f561486954fa0 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Feb 27 16:10:29 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Wed Feb 28 14:16:14 2018 -0800 |
tree | bb6c73abb2573c730d63d4e611fa740063686f36 | |
parent | ddda564192eb2374a6a93cc35d74e07d28c11327 [diff] |
adb: add a way to make the server intentionally leak. Add a way to test LeakSanitizer with the server by adding an environment variable that intentionally leaks. Test: ASAN_OPTIONS=detect_leaks=1:leak_check_at_exit=1 ADB_LEAK=1 adb server nodaemon Change-Id: I7255d45335fa009dc9e5de99dff67af52bd70e06