r2garlic — DEX/Dalvik decompiler for radare2
⚙️ Tools2026-05-18, 12:58
r2garlic is a radare2 plugin that adds Android bytecode decompilation through the Garlic engine. It allows DEX/Dalvik code to be decompiled directly inside an r2 session, without converting it to JAR first.
Features:
• pd:G — decompile the method at the current offset;
• pd:Gc — decompile the entire class;
• pd:Ga — decompile all classes;
• pd:Gi — display DEX metadata;
• pd:Gs — output smali code for the current class.
The tool is useful for static analysis of Android apps when the researcher is already working in radare2 and needs to quickly inspect method logic, class structure, or smali code without switching between separate utilities.
💬 Discuss
Vendors
Products
More
Published
2026-05-18, 12:58