Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
927 stars 209 forks source link

Per-project plugins #4781

Open plafosse opened 11 months ago

plafosse commented 11 months ago

Discussed in https://github.com/Vector35/binaryninja-api/discussions/4763

Originally posted by **MrQubo** November 21, 2023 I have many plugins installed but some of them (e.g. golang plugins) I only use in some projects. All those plugins end up clobbering UI. It would be nice to be able to disable some of the plugins in user settings and enable them in project setting, when needed.
psifertex commented 11 months ago

One note for people interested in this: you can use the BN_USER_DIRECTORY environment variable to create different profiles with different plugin settings. I don't think our current implementation will support different plugins per project within the same process, but the environment variable offers a really useful way to get the same effect.

https://docs.binary.ninja/guide/plugins.html#troubleshooting