Use SQL to explore the code inside Android DEX files and APKs. Begin with a question about an app, find the relevant methods, and inspect their instructions or the resources around them.
Get started
The command-line guide walks through running the supplied executable and opening an interactive session. The SQL guide explains the query language; the same SQL concepts apply wherever a DexSQL query interface is provided.
Find what you need
| Task | Guide |
|---|---|
| Find a string, method, field or bytecode pattern | SQL examples |
| Understand names and join keys across multiple DEX files | DEX data model |
| Find callers or include selected overrides | Call references |
| Search annotation owners and nested values | Annotations |
| Inspect raw indices, exceptions or debug information | DEX structure queries |
| Look up a table, column or function | Table reference · SQL functions |
| Read a method's instructions | Smali disassembly |
| Understand Manifest entries and packaged resources | APK Manifest and resources |
| Avoid preparing the same input for each CLI session | Saved caches |
AI integration
To connect an AI client, see CLI configuration. The English MCP reference documents tool calls, pagination and error handling for the agent using that connection.
Copyright (c) 2026 LSPosed Developers. Documentation licensed under MIT.