
New releaseSep 10, 2026
hermes-decomp v0.2.3
أداة تحليل عكسي قوية تتيح لك هندسة تطبيقات React Native المحمولة عكسيًا عن طريق تحويل ملفاتها المترجمة من Hermes bytecode (.hbc) إلى JavaScript قابل للقراءة.

مفكك تجميع بلغة Rust لـ Hermes bytecode (.hbc)، محرك JavaScript الذي يعمل خلف React Native. يدعم HBC 40 إلى 99.
التثبيت
ملفات تنفيذية جاهزة (Linux / macOS / Windows) من Releases أو Actions:
| لاحقة الملف | المنصة |
|---|---|
linux-x86_64 / linux-arm64 | Linux |
macos-arm64 / macos-x86_64 | macOS |
windows-x86_64 | Windows |
تتضمن الأرشيفات hermes-decomp و hermes-mcp. للتحقق: shasum -a 256 -c SHA256SUMS.
hermes-decomp update --check # or --install / --version v0.1.7
من المصدر (Rust 1.70+):
git clone https://github.com/SymbioticSec/hermes-decomp.git
cd hermes-decomp && cargo build --release
# → target/release/hermes-decomp target/release/hermes-mcp
البدء السريع
hermes-decomp info app.hbc
hermes-decomp disasm app.hbc --function 5 --info --show-offsets
hermes-decomp decompile app.hbc -o out.js # progress on stderr
hermes-decomp decompile app.hbc --deep -o out.js # recover more names, slower
hermes-decomp decompile app.hbc --function 42
hermes-decomp tui app.hbc
hermes-decomp xref app.hbc --query "loginWithToken"


ما الذي يفعله
| المجال | الأوامر (أبرزها) |
|---|---|
| القراءة | info, disasm, decompile, tui, extract, modules, deps |
| التحليل | xref, callgraph, graphviz, closures, debug, dump, bin-diff |
| أدوات مساعدة لهندسة عكسية | secrets, frida-hooks |
| الكتابة (bytecode فقط) | emit-hasm, asm, asm-check, patch-string, patch-function, inject-stub, create |
الخيارات الكاملة والأمثلة → docs/USAGE.md.
ملاحظات:
- يستخدم
decompileللحزمة الكاملة ذاكرة تخزين مؤقت على القرص.hdcacheلإعادة التحميل السريع. مرّر--no-cacheللفرض. - أدوات الكتابة تقوم بترقيع bytecode / HASM. وهي لا تعيد ترجمة JavaScript المفكك.
decompile -o …يطبع مراحل المعالجة على stderr.
MCP والمكتبة
- خادم MCP (
hermes-mcp) لمساعدي الذكاء الاصطناعي → docs/MCP.md
قالب الإعداد:mcp-config.example.json - حزمة Rust
hbc-decomp→ docs/LIBRARY.md
cargo build --release -p hbc-decomp-mcp
المساهمة
راجع CONTRIBUTING.md. يُرجى فتح issue قبل PR.
cargo build --release --workspace && cargo test --workspace
الموارد
الترخيص
MIT. راجع LICENSE.