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

Add URL handlers for links to remote projects and remote project files in Enterprise #6232

Open
fuzyll opened this issue Dec 5, 2024 · 1 comment
Assignees
Labels
Component: Core Issue needs changes to the core Component: UI Issue needs changes to the user interface Edition: Ultimate Effort: Low Issue should take < 1 week Impact: Medium Issue is impactful with a bad, or no, workaround Type: Enhancement Issue is a small enhancement to existing functionality
Milestone

Comments

@fuzyll
Copy link
Contributor

fuzyll commented Dec 5, 2024

What is the feature you'd like to have?
We have the ability to open binaries locally with binaryninja://<path> and a way to attach an Ultimate edition copy of Binary Ninja to an Enterprise server with binaryninja:enterprise://<server>, but we don't have a way to tell Binary Ninja to open a specific project or project file. We should. Something like binaryninja:enterprise://<server>/<project>/<file> might work? Unfortunately, not everything on the web understands/accepts these as valid URIs. So, we may want to consider some other alternatives as well.

Is your feature request related to a problem?
It would be very beneficial to a number of workflows to have a way to link to specific files. This would also be great for internal testing as well.

Additional Information:
This issue has been migrated from a different, internal issue tracker.

@fuzyll fuzyll added Type: Enhancement Issue is a small enhancement to existing functionality Component: UI Issue needs changes to the user interface Component: Core Issue needs changes to the core Effort: Low Issue should take < 1 week Impact: Medium Issue is impactful with a bad, or no, workaround Edition: Ultimate labels Dec 5, 2024
@fuzyll fuzyll added this to the Gallifrey milestone Dec 5, 2024
@galenbwill
Copy link
Contributor

galenbwill commented Dec 9, 2024

Tasks:

  • Implement opening window in existing instance when no URL is provided
    • Add -n/--new-instance (or something) to force opening a new instance of binja
  • binaryninja: URL handler in main.cpp needs to be able to dispatch based on nested scheme (currently only handles file: or http(s): because that's what Qt provides)
  • Need a handler for enterprise: URL schemes that downloads from enterprise server

Extra Credit:

  • Need a "copy location as URL" action, copies binaryninja:enterprise://server/project/file?expr=<address> to clipboard
  • Should also be usable for local files and projects on any edition (except maybe Free?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Issue needs changes to the core Component: UI Issue needs changes to the user interface Edition: Ultimate Effort: Low Issue should take < 1 week Impact: Medium Issue is impactful with a bad, or no, workaround Type: Enhancement Issue is a small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants