{"id":13746397,"url":"https://github.com/daenerys-sre/source","last_synced_at":"2025-05-09T07:30:35.136Z","repository":{"id":215902617,"uuid":"176418514","full_name":"daenerys-sre/source","owner":"daenerys-sre","description":"Daenerys: A framework for interoperability between IDA and Ghidra","archived":false,"fork":false,"pushed_at":"2019-04-01T14:14:16.000Z","size":162,"stargazers_count":299,"open_issues_count":0,"forks_count":22,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-11-15T19:37:25.307Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daenerys-sre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T03:47:05.000Z","updated_at":"2024-10-31T05:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0b8aef5-2ce0-4284-8f98-8260dbc40eec","html_url":"https://github.com/daenerys-sre/source","commit_stats":null,"previous_names":["daenerys-sre/source"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenerys-sre%2Fsource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenerys-sre%2Fsource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenerys-sre%2Fsource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenerys-sre%2Fsource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daenerys-sre","download_url":"https://codeload.github.com/daenerys-sre/source/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253209236,"owners_count":21871613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T06:00:53.007Z","updated_at":"2025-05-09T07:30:35.124Z","avatar_url":"https://github.com/daenerys-sre.png","language":"Python","funding_links":[],"categories":["使用","\u003ca id=\"6fb7e41786c49cc3811305c520dfe9a1\"\u003e\u003c/a\u003e导入导出\u0026与其他工具交互","Ghidra Scripts/Plugins/Extension"],"sub_categories":["\u003ca id=\"6fb7e41786c49cc3811305c520dfe9a1\"\u003e\u003c/a\u003e导入导出\u0026与其他工具交互","\u003ca id=\"c7066b0c388cd447e980bf0eb38f39ab\"\u003e\u003c/a\u003eGhidra"],"readme":"# Introduction\n\nDaenerys is an interop framework that allows you to run IDAPython scripts under Ghidra and Ghidra scripts under IDA Pro with little to no modifications.\n\n![alt text](_images/Daenerys.jpg \"http://geekartgallery.blogspot.com/2015/04/fan-art-round-up-daenerys-targaryen.html\")\n\nThe project's logo symbolizes harmony between the two SRE frameworks.\n\n# Installation\n\nJust copy the IDA Pro Ghidra adapter scripts from the `IDA` folder in this repository to:\n\n`C:\\Users\\[username]\\.ghidra\\.ghidra-9.0\\dev\\ghidra_scripts\\bin` or wherever your Jython `sys.path` points to.\n\nAlternatively, you can add the path to those scripts in the Scripts Manager window:\n![alt text](_images/jython_path.png \"Script path\")\n\n## Example script\n\n```python\n# Daenerys IDAPython example script\n\n#@category Daenerys.IDAPython.Examples\n\nimport idc\n\nprint(\"Hello world from Ghidra...\")\nprint(\"Current address is: %x\" % idc.here())\nprint(\"Min address: %x - Max address: %x\" % (idc.MinEA(), idc.MaxEA()))\nprint(\"Byte at current address is: %02x\" % idc.Byte(idc.here()))\nprint(\"BADADDR=%x\" % idc.BADADDR)\n```\n\n![alt text](_images/idapython-hello.png \"IDAPython example\")\n\n# Project state and future work\n\nThe 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.\n\n\n* Implement IDAPython adapters for Ghidra: Run unmodified IDAPython scripts in Ghidra.\n* Implement Ghidra adapters for IDAPython: Run unmodified Ghidra Python scripts in IDA Pro\n\nYour contributions is welcome.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaenerys-sre%2Fsource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaenerys-sre%2Fsource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaenerys-sre%2Fsource/lists"}