Load plugins from per-machine directory
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- devtools, operating-systems
Research direction
No files or tests are named. Start by locating the plugin discovery and loading entry points, then review how user-specific paths are determined on Linux, macOS, and Windows. Done means supported per-machine directories are searched, user directories take precedence, and the behavior is covered for each platform.
Written by the indexing model from the issue text.
Description
There is no default path for Binary Ninja, since it is usually installed per-user (i.e. a directory in the users' home dir).
For tools like BinDiff, that ship with an installer/package that installs per-machine, this makes it necessary to ask users during installation where a particular tool can be found.
We could simply place plugin modules like libbinexport11.so (built from here) into ~/.binaryninja/plugins.
However, in Debian install scripts, for example, there is no clean way to get the installing user (it'll be root). On Windows and macOS this is easier, but it's still somewhat inelegant to have a system-wide installer dropping files into per-user folder.
TL;DR - Please consider loading plugins from additional well-kown per-machine paths.
E.g.:
- Linux
/etc/opt/binaryninja/plugins - macOS
/Application Support/Vector35/BinaryNinja/plugins - Windows
%ProgramData%/Vector35/BinaryNinja/plugins
Files in per-user directories should take precedence over per-machine ones.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
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.
More from Vector35/binaryninja-api
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8540 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8516 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Vector35/binaryninja-api#8503 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8446 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8444 ·
All issues in Vector35/binaryninja-api
Similar issues
-
Website Doc Typo Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
autowarefoundation/autoware_universe#13413 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
automated-analysis bug memory-safety
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100