google / binexport

Export disassemblies into Protocol Buffers
Apache License 2.0
1.03k stars 197 forks source link

ghidra headless export #60

Open blacktop opened 4 years ago

blacktop commented 4 years ago

Is it possible to export "headlessly" with Ghidra?

cblichmann commented 4 years ago

I have not tried this out. But I don't see why it shouldn't be possible, at least in principle.

Manouchehri commented 2 years ago

I wrote my own solution in Java, but after found this open source one written in Python:

https://github.com/riverratz/ghidraheadless_binexport

https://github.com/riverratz/ghidraheadless_binexport/blob/main/sample_functions_cpy.py