xref: /aosp_15_r20/prebuilts/runtime/appcompat/README.txt (revision 924841fff420cd6b931e1027ee46b85e0a18fe17)
1*924841ffSAndroid Build Coastguard Worker# appcompat.sh
2*924841ffSAndroid Build Coastguard Worker
3*924841ffSAndroid Build Coastguard WorkerGiven an APK, finds API uses that fall into the blacklist/greylists APIs.
4*924841ffSAndroid Build Coastguard Worker
5*924841ffSAndroid Build Coastguard WorkerNOTE: appcompat.sh is still under development. It can report
6*924841ffSAndroid Build Coastguard WorkerAPI uses that do not execute at runtime, and reflection uses
7*924841ffSAndroid Build Coastguard Workerthat do not exist. It can also miss on reflection uses.
8*924841ffSAndroid Build Coastguard Worker
9*924841ffSAndroid Build Coastguard Worker## Instructions
10*924841ffSAndroid Build Coastguard Worker
11*924841ffSAndroid Build Coastguard WorkerNote that only 64-bit binaries are provided. 32-bit systems are not supported.
12*924841ffSAndroid Build Coastguard Worker
13*924841ffSAndroid Build Coastguard Worker### Linux x64
14*924841ffSAndroid Build Coastguard Worker
15*924841ffSAndroid Build Coastguard WorkerDownload veridex-linux.zip, unzip the file and run with:
16*924841ffSAndroid Build Coastguard Worker> ./appcompat.sh --dex-file=test.apk
17*924841ffSAndroid Build Coastguard Worker
18*924841ffSAndroid Build Coastguard Worker### macOS
19*924841ffSAndroid Build Coastguard Worker
20*924841ffSAndroid Build Coastguard WorkerDownload veridex-mac.zip, unzip the file and run with:
21*924841ffSAndroid Build Coastguard Worker> ./appcompat.sh --dex-file=test.apk
22*924841ffSAndroid Build Coastguard Worker
23*924841ffSAndroid Build Coastguard Worker### Windows 10
24*924841ffSAndroid Build Coastguard Worker
25*924841ffSAndroid Build Coastguard WorkerNative Windows binaries are not provided, but the Linux binaries can be executed
26*924841ffSAndroid Build Coastguard Workerwith Windows Subsystem for Linux (WSL).
27*924841ffSAndroid Build Coastguard Worker
28*924841ffSAndroid Build Coastguard WorkerFollow the instructions at [this
29*924841ffSAndroid Build Coastguard Workerlink](https://docs.microsoft.com/en-us/windows/wsl/install-win10) and install
30*924841ffSAndroid Build Coastguard WorkerUbuntu distribution when given the choice. Once installed, launch an Ubuntu
31*924841ffSAndroid Build Coastguard Workerterminal and follow instructions for Linux.
32*924841ffSAndroid Build Coastguard Worker
33