aosp12/prebuilts/runtime/appcompat
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
MODULE_LICENSE_APACHE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
NOTICE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
hiddenapi-flags.csv init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
update.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
veridex-linux.zip init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
veridex-mac.zip init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.txt

# appcompat.sh

Given an APK, finds API uses that fall into the blacklist/greylists APIs.

NOTE: appcompat.sh is still under development. It can report
API uses that do not execute at runtime, and reflection uses
that do not exist. It can also miss on reflection uses.

## Instructions

Note that only 64-bit binaries are provided. 32-bit systems are not supported.

### Linux x64

Download veridex-linux.zip, unzip the file and run with:
> ./appcompat.sh --dex-file=test.apk

### macOS

Download veridex-mac.zip, unzip the file and run with:
> ./appcompat.sh --dex-file=test.apk

### Windows 10

Native Windows binaries are not provided, but the Linux binaries can be executed
with Windows Subsystem for Linux (WSL).

Follow the instructions at [this
link](https://docs.microsoft.com/en-us/windows/wsl/install-win10) and install
Ubuntu distribution when given the choice. Once installed, launch an Ubuntu
terminal and follow instructions for Linux.