Skip to content
Daenerys: A framework for interoperability between IDA and Ghidra
Branch: master
Clone or download
0xeb Merge pull request #1 from cclauss/patch-1
Trailing L on 0xFFFFFFFFFFFFFFFFL is no longer required
Latest commit e917540 Apr 1, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_images Initial version Mar 19, 2019
ida Trailing L on 0xFFFFFFFFFFFFFFFFL is no longer required Mar 22, 2019
scripts/IDAPython Initial version Mar 19, 2019
.gitignore Initial version Mar 19, 2019 Create Apr 1, 2019 Initial version Mar 19, 2019


Daenerys is an interop framework that allows you to run IDAPython scripts under Ghidra and Ghidra scripts under IDA Pro with little to no modifications.

alt text

The project's logo symbolizes harmony between the two SRE frameworks.


Just copy the IDA Pro Ghidra adapter scripts from the IDA folder in this repository to:

C:\Users\[username]\.ghidra\.ghidra-9.0\dev\ghidra_scripts\bin or wherever your Jython sys.path points to.

Alternatively, you can add the path to those scripts in the Scripts Manager window: alt text

Example script

# Daenerys IDAPython example script

#@category Daenerys.IDAPython.Examples

import idc

print("Hello world from Ghidra...")
print("Current address is: %x" %
print("Min address: %x - Max address: %x" % (idc.MinEA(), idc.MaxEA()))
print("Byte at current address is: %02x" % idc.Byte(
print("BADADDR=%x" % idc.BADADDR)

alt text

Project state and future work

The Daenerys framework is still in its very early development stage. Both IDA and Ghidra have a rich API set (xrefs, instructions decoding/encoding, decompiler, UI, etc.) and it will take time to implement the adapters that let you achieve perfect interoperability between them.

  • Implement IDAPython adapters for Ghidra: Run unmodified IDAPython scripts in Ghidra.
  • Implement Ghidra adapters for IDAPython: Run unmodified Ghidra Python scripts in IDA Pro

Your contributions is welcome.

You can’t perform that action at this time.