Authorization notice. Dexsql Release is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. Combining several app packages to map their code is reverse engineering, so keep it to software you are allowed to analyze.
Who it is forA developer or analyst working with a large app that ships many DEX files, who needs one answer across all of them.
The problemRunning separate searches per DEX file misses cross-file references and forces manual merging of results.
The outcomeOne result set that covers every supplied file, so a method or string can be found wherever it lives in the app.
What you need first
- A terminal on macOS, Linux or Windows
- The DexSQL executable or archive from the Releases page that matches your OS and CPU
- An APK or DEX file you have the right to analyze
- An MCP-capable AI client such as Codex, if you want agent access
Steps
- Download the executable for your OS and CPU from the Releases page and set it up as in the manual MCP or CLI steps.
- Pass each input file with its own
--inputflag, for exampledexsql query --input base.apk --input feature.apk --sql "SELECT DISTINCT method FROM method_strings WHERE value = '<value>'". (inferred, check the README) - Use
dexsql query --input base.apk --input feature.apk --interactiveto run several exploratory queries against the same loaded inputs. (inferred, check the README) - Note which input each result came from, since the query output shows method names and you should confirm the source file before drawing conclusions.
Prompt for your agent
Using the dexsql CLI, query <APK or DEX path 1> and <APK or DEX path 2> together for the method <method name>. Report which input files contain a matching method and state any method that appears in only one file.
Caveat. The README confirms that repeating --input queries multiple files together but does not say how results are labeled by source file, so check the output format yourself before relying on it.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page