Skip to content
Back to skills

Rei Native Binaries

ASecurity

Inspect authorized PE, ELF, Mach-O, and native libraries for symbols, imports, ABI boundaries, and call graphs.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 8, 2026

npx -y skills add rootcastleco/rei-skills --skill rei-native-binaries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rei Native Binaries?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rei Native Binaries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rootcastleco-rei-native-binaries/badge)](https://www.skillsdirectory.com/skills/rootcastleco-rei-native-binaries)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rei-native-binaries
description: "Inspect authorized PE, ELF, Mach-O, and native libraries for symbols, imports, ABI boundaries, and call graphs."
risk: safe
source: rootcastle-rei
category: reverse-engineering
metadata:
  tags: "reverse-engineering, native-binaries, pe, elf, mach-o, abi, rei-rea"
  upstream_repo: "https://github.com/rootcastleco/Rei-Reverse-engineer"
  curated_by: "rootcastle-rei"
---

# REI Native Binaries

## When to Use

- Inspect authorized PE, ELF, Mach-O, COFF and native dynamic libraries. Use for x86/x64/ARM symbol and import analysis, function-call tracing, compiler artifact identification, Ghidra/radare2/IDA evidence, decompilation comparisons, patch impact and ABI compatibility reconstruction. Ground interpretations in addresses, sections, hashes and tool versions instead of assuming pseudocode equals source.
- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.


## Entry contract

Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.

## Available tooling

Preferred: `readelf`, `objdump`, `llvm-readobj`, `Ghidra`, `radare2`, `Rizin`, `Cutter`, `x64dbg`, `LLDB`. First run `rei-rea inspect PATH`, `rei-rea deep PATH` (PE/ELF only) and `rei-rea plan PATH`; `rei-rea run readelf PATH --allow-external` is opt-in only.

## Procedure

1. Verify PE/ELF/Mach-O header, architecture, ABI and artifact hash.
2. Inventory sections, entry points, imports and resources before interpreting code.
3. Trace a single feature through callers, xrefs and data transforms; capture addresses and confidence.
4. Cross-check pseudocode against assembly, calling conventions and independent probes.
5. For a rebuild, specify inputs/outputs and test a fixed corpus under a controlled environment.

## Evidence and limits

Do not treat compiler-generated code as original source; do not execute a suspicious binary merely to obtain faster results.

For every conclusion record: target hash, source address/offset/file line, method and version, status (`observed`/`inferred`/`unknown`), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.

See [workflow checkpoints](references/workflow.md) for outputs and acceptance criteria.

---

> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş  
> Engineering Beyond Boundaries | admin@rootcastle.com

Files in this skill

  • SKILL.md2.6 KB
  • agents/openai.yaml115 B
  • references/workflow.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.