-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export From Ghidra #21
Comments
Unfortunately as of right now the python-binexport CLI supports only IDA. In future we might add support for ghidra as well. Your best solution right now would be to write your own script that does the exporting and launch it with ghidra headless mode. for example: and in from com.google.security.binexport import BinExportExporter
from java.io import File
exporter = BinExportExporter() #Binary BinExport (v2) for BinDiff
exporter.export(File(currentProgram.getName() + ".BinExport"), currentProgram, currentProgram.getMemory(), monitor) |
To complete @patacca anwser. We plan to add it to python-binexport but never had the time to do so. |
Thank you for the help! Unfortunately, I am not familiar with the com.google.security package and cant seem to use it. Could you briefly explain how to get that please? |
I guess the problem is that you didn't install the BinExport ghidra plugin. You can download it here https://github.com/google/binexport/releases Then just run the script in the headless mode like shown above and it should work. |
Currently, I am manually analyzing and exporting every program as a .BinExport to then use in my python script. Is there a way to automatically generate these .BinExport files without doing it manually?
The text was updated successfully, but these errors were encountered: