Ghidra vs uncompyle6
Ghidra
github.comuncompyle6
github.comSide by side
| Figure | Ghidra | uncompyle6 |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Reverse Engineering Tools | 8.7 (#5) | 7.6 (#34) |
| Spec score · Decompiler Software | 8.8 (#3) | 7.6 (#15) |
| License | The repository includes the Apache License, Version 2.0, which grants no-charge, royalty-free copyright and patent licenses subject to its terms. | The repository identifies the project as GPL-3.0 licensed. |
| Operating systems | Official releases provide native components for Windows 10 or later x86-64 and Linux x86-64; macOS and additional ARM or BSD systems can use user-built native components. | PyPI classifies the package as operating-system independent. |
| Purpose | Ghidra is a software reverse engineering framework maintained by the NSA Research Directorate. | uncompyle6 translates Python bytecode into equivalent Python source code. |
| What it does | Ghidra is an NSA Research Directorate software reverse-engineering framework for analyzing compiled code. | uncompyle6 translates Python bytecode back into equivalent Python source code. |
Plans
In their own words
Ghidra
Ghidra is a software reverse engineering framework maintained by the NSA Research Directorate. It analyzes compiled code with tools for disassembly, assembly, decompilation, graphing and scripting, and supports many processor instruction sets and executable formats. The framework can operate interactively or in automated workflows, including work intended to address team and scale needs in complex reverse engineering. Users can write extensions and scripts in Java or Python. Development options include a GhidraDev plugin for Eclipse and support for script editing and module projects in Visual Studio Code. The project describes compiled-code analysis on Windows, macOS and Linux. Installation requires a 64-bit JDK 25 and an official multi-platform release archive. Ghidra is free under the Apache License, Version 2.0, whose terms grant no-charge, royalty-free copyright and patent licenses. The repository warns that some versions have known security vulnerabilities and directs users to security advisories. Its policy directs vulnerability reports to GitHub private vulnerability reporting rather than public issues.
uncompyle6
uncompyle6 is a free, GPL-3.0-licensed tool for translating compiled Python bytecode into equivalent Python source code. It runs on `.pyc` and `.pyo` files from the command line, and can also deparse code fragments or return source information around a bytecode offset. The README lists bytecode from Python 1.0 through 3.8, Dropbox Python 2.5 bytecode, and some PyPy bytecode as accepted inputs. Fragment deparsing is used in trepan debuggers to show source at runtime and can provide more stack-trace detail than a line number. The `--syntax-verify` option checks decompiled syntax when used with the matching bytecode version. Control-flow handling remains a major challenge, and some incorrect decompilations may be detected and reported. The tool does not handle obfuscated code, Cython, or MicroPython, and cannot directly decompile Py2EXE executables. Python 3.7 and 3.8 support is generally better in the related decompile3 project. Installation is through PyPI for Python 3.11 and later, or a GitHub Releases file for earlier Python versions. Platforms listed include Linux, macOS, Windows, and self-hosted use.