dod-cyber-crime-center / pyhidra

Pyhidra is a Python library that provides direct access to the Ghidra API within a native CPython interpreter using jpype.
Other
153 stars 14 forks source link

Multiprocessing in python #40

Open dingiso opened 1 month ago

dingiso commented 1 month ago

Dear Ghidra Maintainers and Friends,

Have you tried using multiprocessing when importing and analyzing programs with Ghidra? Is it possible to do this using Python multiprocessing?

I'm currently working on a project that requires importing and analyzing thousands of programs. The analysis process would be significantly faster with the help of multiprocessing.

One alternative method I considered was creating multiple Ghidra projects and having each one handle a portion of the programs. However, this approach might complicate the subsequent processes.

So, I wanted to ask if it's possible to analyze multiple programs within a single Ghidra project by utilizing Python multiprocessing with PyGhidra.

Any tips or insights you can provide would be really helpful.

Thank you, Dingisoul