📦 rz-ghidra/ rizinorg
Deep ghidra decompiler and sleigh disassembler integration for rizin
Открыть на GitHub ↗обновлён 2д назад
Звёзды
★ 992
Форки
109
За неделю
—
За месяц
—
Рост %
—
Язык
C++
Установка и запуск
Usage
Usage: pdg # Native Ghidra decompiler plugin
| pdg # Decompile current function with the Ghidra decompiler
| pdgd # Dump the debug XML Dump
| pdgx # Dump the XML of the current decompiled function
| pdgj # Dump the current decompiled function as JSON
| pdgo # Decompile current function side by side with offsets
| pdgs # Display loaded Sleigh Languages
| pdg* # Decompiled code is returned to rizin as comment
The following config vars (for the e command) can be used to adjust rz-ghidra's behavior:
ghidra.cmt.cpp: C++ comment style
ghidra.cmt.indent: Comment indent
ghidra.indent: Indent increment
ghidra.lang: Custom Sleigh ID to override auto-detection (e.g. x86:LE:32:default)
ghidra.linelen: Max line length
ghidra.nl.brace: Newline before opening '{'
ghidra.nl.else: Newline before else
ghidra.sleighhome: SLEIGHHOME
Here, ghidra.sleighhome must point to a directory containing the *.sla, *.lspec, ... files for
the architectures that should supported by the decompiler. This is however set up automatically when using
the rz-pm package or installing as shown below.
Из README репозитория · полный README на GitHub
Категории
Теги
decompilerdisassemblerghidrahacktoberfestreverse-engineeringrizinsleigh