decompile
Decompile a function to C-like pseudocode using angr
v2026.3.13-0409f533 установки+3 за 7 дней210 ЗвездыMITсинхронизировано 11 часов назад
Установка
Ещё нет NotHoly CLI? Сначала установите её.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install dariushoule/decompileПишет в ~/.notholy/skills после проверки подписи и SHA-256.
ПодписьПодписано, ed25519
Пакет114acce5…0ee4b3f3
114acce5bf1a…3f2c0ee4b3f32 файла · 2.3 KBПроверкаСредний1 замечание
- Исполняемый скрипт в составе навыкаdecompile.py
Источникgithub.com/dariushoule/x64dbg-skills/tree/main/skills/decompile@0409f53
Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.
На странице
Decompile a function from the debugged binary into C-like pseudocode using angr.
If no address is specified, decompiles the function containing the current instruction pointer. Accepts an address or symbol name as an argument.
Instructions
Follow these steps exactly:
1. Check prerequisites
Run pip show angr via Bash. If angr is not installed, tell the user:
angr is not installed. Install it with
pip install angr(requires Python >= 3.10). Note: angr is a large package (~500MB+).
Then stop.
2. Verify debugger connection
Call mcp__x64dbg__get_debugger_status to confirm the debugger is connected and paused. If not debugging, tell the user and stop.
3. Determine target function address
If the user provided an address or symbol as an argument:
- If it looks like a hex address, use it directly
- If it looks like a symbol name, resolve it via
mcp__x64dbg__eval_expression
If no argument was provided:
- Get the current instruction pointer via
mcp__x64dbg__get_register(registerripfor 64-bit,eipfor 32-bit) - Use the current RIP/EIP value as the target address
Call this resolved value target_addr.
4. Resolve module path and compute RVA
Use mcp__x64dbg__eval_expression to evaluate:
mod.path(target_addr)— to get the on-disk path of the module containing the addressmod.base(target_addr)— to get the module's base address
Compute the RVA: target_addr - module_base
If mod.path fails, the address may not belong to a loaded module. Tell the user and stop.
5. Run the decompile script
Execute:
python "${CLAUDE_PLUGIN_ROOT}\skills\decompile\decompile.py" --binary "<module_path>" --address <rva_hex>Where:
<module_path>is the on-disk path from step 4<rva_hex>is the RVA in hex (e.g.0x1060)
The script may take 10-30 seconds for large binaries (CFG generation is the bottleneck). Use a timeout of at least 120 seconds.
6. Present results
The script outputs decompiled C pseudocode to stdout and status messages to stderr.
Present the decompiled code to the user in a ```c code block. If the script failed, relay the error message from stderr (e.g., function not found, decompilation failed) and suggest nearby functions if listed.
Файлы этой версии
- decompile.py3.3 KB
- SKILL.md2.4 KB
Права
| Право | Заявлено | Найдено проверкой |
|---|---|---|
| Читает файлы | Да | Да |
| Пишет файлы | Нет | Нет |
| Выполняет команды shell | Да | Да |
| Ходит в сеть | Нет | Нет |
| Использует коннекторы | Да | Да |
| Управляет браузером | Нет | Нет |
Замечания проверки
Проверено 13 нояб. 2026 г.
- СредняяФайл · Исполняемый скрипт в составе навыкаdecompile.py
Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.
| Версия | Опубликована | Коммит | SHA-256 | Подпись | Изменение прав |
|---|---|---|---|---|---|
| v2026.3.13-0409f53 | 13 нояб. 2026 г. | 0409f53 | 114acce5 | Подписана | – |
Ещё от dariushoule
Всё от этого издателяЕще в категории «Реверс-инжиниринг и фаззинг»
Вся категорияСпрашивайте обо всём, что позволяет ваш скоуп.
Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.
- 1/3
Создайте аккаунт
Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.
ЛичныйКомпания - 2/3
Пополните баланс
Картой. Оплата за токены, без подписки.
$5.00минимальное пополнение - 3/3
Спрашивайте
В чате, или установите CLI и выполните notholy login в терминале.
$ notholy login