summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader.cpp
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-04-22 15:21:09 -0700
committerAlex Light <allight@google.com>2020-04-24 16:26:29 +0000
commit5c25e537f59c2f87a57097ad3eb2f70d8c54de23 (patch)
tree441b43f9a6accb38de3c3811622f673b841064cd /libnativeloader/native_loader.cpp
parent4a1e4dd1a763fc67e6f505b516a28ddfd0da2963 (diff)
Add an agent to enable VLOG options
We added the ability to manipulate the 'VLOG' (-verbose:...) options at runtime a while ago. This adds an agent which can be loaded to change these after starting an app. This can be useful for debugging. Test: m libenablevlogs adb push $ANDROID_PRODUCT_OUT/system/lib/libenablevlogs.so /data/local/tmp adb shell run-as com.antonioleiva.bandhookkotlin cp /data/local/tmp/libenablevlogs.so ./code_cache adb shell cmd activity attach-agent com.antonioleiva.bandhookkotlin /data/data/com.antonioleiva.bandhookkotlin/code_cache/libenablevlogs.so=class,jit adb logcat Change-Id: I80a97684b19ffc81f6e1181fc15f24cf3b53c31b
Diffstat (limited to 'libnativeloader/native_loader.cpp')
0 files changed, 0 insertions, 0 deletions