ghidra-function-analysis

ghidra-function-analysis is a skill for Claude Code, Codex from mattmre/EVOKORE-MCP-PUBLIC. It costs 45 tokens per session (566 once invoked), scanned A, original, MIT.

A Ghidra-based reverse-engineering workflow for understanding an important compiled-program function. Ghidra is a tool that turns machine code into a more readable approximation and shows how functions connect.

In plain words
What is it for?
Use it to determine a function’s inputs, outputs, side effects, data structures, and external calls, while recording what remains uncertain.
Why use it?
It reduces the risk of trusting an incomplete decompilation by comparing it with assembly, callers, callees, references, strings, and control flow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to determine a function’s inputs, outputs, side effects, data structures, and external calls, while recording what remains uncertain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mattmre/evokore-mcp-public/ghidra-function-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mattmre/EVOKORE-MCP-PUBLIC --skill ghidra-function-analysis
Clone the repo
git clone --depth 1 https://github.com/mattmre/EVOKORE-MCP-PUBLIC

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghidra-function-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-function-analysis/github.svg)](https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-function-analysis)
Your own site
<a href="https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-function-analysis"><img src="https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-function-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ghidra-function-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/mattmre/evokore-mcp-public/ghidra-function-analysis"><img src="https://agentmods.dev/badge/skills/mattmre/evokore-mcp-public/ghidra-function-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00566
Opus 5 $0.00023 $0.00283
Sonnet 5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00057

Measured 9d ago against content hash aa45d4f46832, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ghidra-function-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILLS/DEVELOPER TOOLS/ghidra-function-analysis/SKILL.md · 75 lines

What it actually says

Ghidra Function Analysis

Recover semantics by correlating decompiler output with xrefs, control flow, strings, and surrounding call paths. Do not trust decompiler prose alone.

Workflow

  1. Select the function by name or address.
  2. Pull both decompiler output and low-level context:
    • disassembly
    • callers and callees
    • xrefs to and from
    • referenced strings and constants
    • surrounding graph edges or pcode if needed
  3. Explain the function in terms of:
    • inputs
    • outputs
    • side effects
    • data structures touched
    • external APIs invoked
  4. State what is still uncertain.
  5. Decide whether the next step is renaming/retyping, graph expansion, or debugger confirmation.

Tool Families to Prefer

  • ghidra_headless_decomp.function
  • ghidra_headless_function.at or ghidra_headless_function.by_name
  • ghidra_headless_function.callers
  • ghidra_headless_function.callees
  • ghidra_headless_reference.to
  • ghidra_headless_reference.from
  • ghidra_headless_pcode.function
  • ghidra_headless_graph.*

GhidraMCP-style equivalents:

  • decompile function
  • disassemble function
  • get xrefs to / from
  • list strings

Evidence Rules

  1. Confirm every semantic claim with at least one of:
    • API call evidence
    • xref pattern
    • string/constant evidence
    • control-flow structure
    • dynamic observation
  2. Separate "confirmed behavior" from "best current hypothesis."
  3. Mark any security-relevant branches, error paths, or anti-analysis checks explicitly.

Deliverable Format

  • Function summary in 3-6 sentences
  • Inputs / outputs / side effects
  • Key evidence bullets
  • Open questions
  • Recommended next pivot
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 75 lines · 45 tokens per session scan A aa45d4f46832

Subscribe to this mod's changes

ghidra-function-analysis is a skill published in the GitHub repository mattmre/EVOKORE-MCP-PUBLIC (3 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 566 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ts-debug

TypeScript/Node debugging expert. Use when the user needs to debug, profile, or trace TypeScript or Node.js code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function", "why won't the process exit".

berekvolgyipeter/dotclaude · 68 tokens

py-debug

Python debugging expert. Use when the user needs to debug, profile, or trace Python code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function".

berekvolgyipeter/dotclaude · 54 tokens

wakaru

Turn minified, bundled, or transpiled JavaScript back into readable modules. Use when you encounter unreadable production JS — a webpack/esbuild/Metro/Rollup bundle, a minified vendor script, Babel/TypeScript/SWC-transpiled output, or a single mangled .js file — and need to read, audit, debug it, or recover a…

pionxzh/wakaru · 99 tokens

deep-analysis

Performs focused, depth-first investigation of specific reverse engineering questions through iterative analysis and database improvement. Answers questions like "What does this function do?", "Does this use crypto?", "What's the C2 address?", "Fix types in this function". Makes incremental improvements (renaming…

cyberkaida/reverse-engineering-assistant · 98 tokens

ctf-rev

Solve CTF reverse engineering challenges using systematic analysis to find flags, keys, or passwords. Use for crackmes, binary bombs, key validators, obfuscated code, algorithm recovery, or any challenge requiring program comprehension to extract hidden information.

cyberkaida/reverse-engineering-assistant · 52 tokens

pyghidra-scripting

Write and run Python (PyGhidra) code inside the Ghidra session that ReVa's MCP server is already attached to, using the five ReVa scripting tools — run-script, list-scripts, read-script, write-script, edit-script. Use this whenever the user asks to execute Python against the current program, reach for the Ghidra Flat…

cyberkaida/reverse-engineering-assistant · 209 tokens