Skip to content
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

headless mode #2

Open
blacktop opened this issue Aug 16, 2020 · 4 comments
Open

headless mode #2

blacktop opened this issue Aug 16, 2020 · 4 comments

Comments

@blacktop
Copy link

Is it possible to run this plugin in a headless mode with Ghidra? If so can you give an example of how to do that please?

@ubfx
Copy link
Owner

ubfx commented Aug 16, 2020

Hi, currently it's only accessible via the GUI since I haven't worked in headless mode myself.

@staringatphones
Copy link

I am also interested in being able to script BinDiffHelper. Happy to help test and provide feedback if that's helpful.

@TheZ3ro
Copy link

TheZ3ro commented Sep 11, 2023

any news? I would be happy to contribute

@gemesa
Copy link

gemesa commented Oct 31, 2024

So what exactly do you want to accomplish in headless mode? You can create .BinExport files in headless mode using this official Ghidra script (which I implemented btw). Then you can run bindiff from the command line to generate .BinDiff files which you can import into BinDiffHelper. In BinDiffHelper you will need to determine based on context and your analysis which functions you want to import. This process isnt something you can easily automate, nor would you want to. If you check the BinDiff manual you will see some algorithms with poor-to-medium performance. What happens if you blindly import all functions determined to be similar by these algorithms? You might mislead yourself and import function names that were incorrectly deemed similar by a weak algorithm. How do you decide on the similarity and confidence values above which you want to import functions? 0.8 for both? 0.9 for both? You might miss similar functions or import dissimilar ones (for small functions there is a higher chance of false positives and again some algorithms have poor performance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants