commit | d64d2ed556b0fd62b79b39bfbfab222796cd3029 | [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 | 47a21fb3f37460fd364dabff58fe3e56e58e0dd6 | |
parent | 23aea56b97ca1c0cc34789fb5404a0c335450928 [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