Review decompiler output
Skill gaelic-ghost/socket/plugins/reverse-engineering-skills/skills/review-decompiler-output
Review generated pseudocode or disassembly without presenting it as original source. Use when Codex must interpret, compare, annotate, validate, or summarize output from Cutter, Rizin, Malimite, Ghidra, Hopper, ILSpy, or another decompiler or disassembler; assess recovered types and control flow; track analyst renames; or reconcile disagreements between generated output and binary or runtime evidence.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill review-decompiler-outputAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, 609 tokens by cl100k_base, as published. Nobody here has run it
Review Decompiler Output
Overview
Turn generated output into bounded findings. Preserve which tool produced each name, type, expression, and control-flow shape.
Workflow
-
Record the input context.
- Identify the artifact hash, architecture or managed runtime, selected image, base address, tool and version, analysis settings, and function or address range.
- Note whether symbols, debug information, signatures, runtime metadata, or prior analyst names were loaded.
- If no actual generated view and no tool, version, and load context are available, stop with
no generated output reviewedand request those inputs. Do not emit an empty review or infer source-level behavior from capability discovery alone.
-
Classify every important name.
- Original exported or debug symbol.
- Runtime-derived name such as an Objective-C selector or managed metadata name.
- Tool-generated placeholder.
- Analyst-proposed rename.
- Demangled or normalized presentation of another recorded name.
-
Inspect decompiler artifacts.
- Look for invented temporaries, merged variables, missing signedness, guessed structures, incorrect calling conventions, flattened control flow, synthetic gotos, hidden exception edges, and elided reference counting or runtime calls.
- Treat casts, field layouts, loop shapes, and high-level operators as hypotheses until supported by lower-level evidence.
-
Cross-check the important claim.
- Compare relevant instructions, references, imports, constants, strings, metadata, and call sites.
- Check more than one caller or callee when a type or responsibility inference depends on context.
- Use a second tool or runtime observation when the claim is consequential and the first tool's output is ambiguous.
-
Preserve transformations.
- Record original name, proposed name, reason, evidence source, and confidence.
- Keep tool output, analyst edits, and inferred source structure separate.
-
Report uncertainty.
- Say
the decompiler representsfor generated constructs. - Say
the artifact contains,loads,exports, orreferencesonly for directly supported observations. - Say
appears consistent withfor reconstructed behavior. - Say
not observed in this passinstead ofdoes not existwhen analysis coverage is incomplete.
- Say
Comparison Checklist
- Same artifact hash and architecture slice.
- Same load address or a documented address translation.
- Same symbol and type inputs.
- Same analysis scope and function boundaries.
- Tool-specific renames remain attributed.
- Differences are preserved rather than averaged into false agreement.
Output
## Generated View
- Tool/version:
- Artifact/function:
- Analysis context:
## Direct Observations
- ...
## Decompiler Artifacts Or Uncertainty
- ...
## Inferences
- Claim:
- Supporting evidence:
- Contradicting evidence:
- Confidence:
## Renames
| Original | Proposed | Evidence | Confidence |
| --- | --- | --- | --- |
## Next Verification
...
What ships with it: 1 file
250 B alongside SKILL.md
agents/
- openai.yaml250 B