DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to trace which methods log a given string and who calls them with Dexsql Release

Have an agent query an APK over MCP to map a log message to its methods and callers.

Short answer: Open the Releases page and download the executable or archive that matches your operating system and CPU; then Rename the executable to dexsql.exe on Windows or dexsql on macOS/Linux, then run chmod +x /path/to/dexsql on macOS/Linux; save LICENSE and LICENSE-AUXILIARY from the same release alongside the executable. All steps.

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. Only analyze APKs you have the right to inspect, since this traces an app's internal logging and call paths.

Who it is forA reverse engineer or security reviewer who sees a log message in an app and wants to know which code produces it and what triggers that code.

The problemFollowing a string through Smali and decompiled code by hand is slow, and call chains are easy to lose track of.

The outcomeThe agent returns the methods that reference the message, their callers, and the relevant Smali, based on structured query results.

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

  1. Open the Releases page and download the executable or archive that matches your operating system and CPU.
  2. Rename the executable to dexsql.exe on Windows or dexsql on macOS/Linux, then run chmod +x /path/to/dexsql on macOS/Linux.
  3. Save LICENSE and LICENSE-AUXILIARY from the same release alongside the executable.
  4. Register the server with Codex by running codex mcp add dexsql -- /absolute/path/to/dexsql mcp.
  5. Ask the agent: Open /path/to/app.apk. Find methods referencing this log message, list their callers, and show the relevant Smali.

Prompt for your agent

Use the dexsql MCP server to open <path to APK>. Find every method that references the log message <message text>, list each caller of those methods, and show the relevant Smali. Before summarizing, confirm that each reported method name appears in the query results.

Caveat. The README lists the bundle for macOS, x86_64 Linux and x86_64 Windows only, so other platforms need the install skill or manual setup, and the README's Codex command is the only client registration it gives.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for LSPosed/dexsql-release and "Trace which methods log a given string and who calls them"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer