snippets should not be loaded in headless mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently, I observe that the snippets plugin is also loaded in headless mode. I observed this when I try to run the BN unit tests. While this is related to https://github.com/Vector35/binaryninja-api/issues/1556, but it is different. Python plugins are too flexible and BN have no way of differentiating core/UI plugins, so the plugin itself should detect whether it is running in headless mode and decide whether it should load. binaryninja.core_ui_enabled() should fit the purpose.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the snippets plugin's loading entry point and use binaryninja.core_ui_enabled() to determine whether it should load in headless mode. Run the BN unit tests that expose the issue and confirm snippets are not loaded headlessly while remaining available in the UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100