commit | e2176118f4e7a9e2470310f978a40dbdcc904fb3 | [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 | c8a22bc1afa858af2e7319df41ee05d6dd1a2d4d [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