NDKTrace
БесплатноНе проверенAnalyzes Android NDK crashes by resolving native symbols with ELF BuildId verification for AI-assisted crash diagnosis.
Описание
Analyzes Android NDK crashes by resolving native symbols with ELF BuildId verification for AI-assisted crash diagnosis.
README
NDKTraceSkills is a local toolchain for Android native crash restoration and AI-assisted analysis. The recommended workflow is a project-aware agent skill that runs a deterministic C++ CLI first and falls back to guided workspace inspection only when project resolution is incomplete. The repository is organized around three primary parts:
- a C++ CLI in
cli/ - a shared core library in
cli/that includes crash artifact parsing and symbolization helpers - a Codex skill in
skills/android-native-crash-analysis/
The current scaffold already includes a buildable CLI, project-aware Android resolution, and a local skill workflow that can fall back to workspace inspection when project resolution is incomplete.
Repository Layout
cli/contains the CMake-based C++ command-line applicationskills/android-native-crash-analysis/contains the Codex skilldocs/contains the project notes and contracts
Documentation
Current Scope
- Define the CLI command surface and JSON output contract, including artifact, frame, and memory-map metadata fields
- Keep crash artifact parsing in the shared core library instead of the CLI entry point
- Prefer verified ELF BuildId matches before path or basename fallback when selecting local symbol files
- Normalize logcat-wrapped native crash lines before frame parsing so raw logcat excerpts can be restored directly
- Let the CLI resolve Android project metadata, module selection, NDK paths, and preferred unstripped symbols when explicit paths are missing
- Let the local analysis skill call the CLI first and use workspace inspection only when the CLI reports partial or ambiguous project resolution
- Keep deterministic stack restoration, validation, and BuildId-aware matching in the CLI
Recommended Local Workflow
- provide the crash text plus either explicit
ndk_pathandsymbol_pathvalues or an Androidproject_path - let the skill call
ndktrace-cli resolve-projectfirst to resolve the module, variant, ABI, NDK path, and preferred unstripped.so - use skill-driven workspace inspection only when
resolve-projectreturnspartial,ambiguous, ornot_found - run
ndktrace-cli validatebefore stack restoration when the selected native inputs are uncertain - run
ndktrace-cli restoreonly after the skill has selected concrete local paths
Quick Start
Build the CLI:
cmake -S cli -B cli/build
cmake --build cli/build --config Debug
Run the scanner:
cli\build\Debug\ndktrace-cli.exe scan-ndk --pretty
Resolve an Android project directly from a crash artifact:
cli\build\Debug\ndktrace-cli.exe resolve-project --project D:\Project\Android --stack-file crash.txt --pretty
Run the CLI tests:
ctest --test-dir cli/build -C Debug --output-on-failure
Установка NDKTrace
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/finalscave/ndktraceskillsFAQ
NDKTrace MCP бесплатный?
Да, NDKTrace MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для NDKTrace?
Нет, NDKTrace работает без API-ключей и переменных окружения.
NDKTrace — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить NDKTrace в Claude Desktop, Claude Code или Cursor?
Открой NDKTrace на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare NDKTrace with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
