question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Relocatable or per-user extension directory?

See original GitHub issue

Is your feature request related to a problem? Please describe. When distributing Ghidra internally, we install it in a non-writable, per-machine installation dir: /opt/ghidra. Users that want to install/develop extensions, need to make their /opt/ghidra/Ghidra/Extensions directory writable. This is not ideal, as we have packaged Ghidra into a Debian package and want to distribute it that way.

Describe the solution you’d like Similar to what IDA Pro already supports: An additional search path in the user’s local home directory to load Extensions from.

Suggested paths

  • Windows %USERPROFILE%\\Local Settings\\Application Data\Ghidra\Extensions (note that this is non-roaming to avoid cluttering the user profile that travels with the user)
  • macOS $HOME/Library/Application Supprt/Ghidra/Extensions
  • Linux $HOME/.ghidra/Extensions

This would also enable to package Ghidra extensions as Debian packages and install alongside.

Describe alternatives you’ve considered A bind-mount that overlays <GhidraInstallDir>/Ghidra/Extensions with one of the the paths above.

Additional context If there is interest, I can have a stab at implementing this myself.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ryanmkurtzcommented, Jun 8, 2020

Hopefully no one worked on this. I just submitted a PR for it.

1reaction
TheAifam5commented, Nov 17, 2019

I’m really interested in this. Made a fork already and I will try to implement it but I can’t say for sure 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thread: Relocatable installs : Postgres Professional
A relocatable install is one where you can do 'gmake install', tar up the directory where you installed it, then untar it on...
Read more >
How to install Visual Studio Code extensions from Command ...
To make it easier to automate and configure VS Code, it is possible to list, install, and uninstall extensions from the command line....
Read more >
Implementing the Basic Folder Object Interfaces - Win32 apps
The procedure for implementing a namespace extension is similar to that for any other in-process Component Object Model (COM) object.
Read more >
Configuration Files Details | Notepad++ User Manual
xml is present, the portable configuration file location will take priority over the %AppData%\Notepad++\ directory. If none of the other configuration file ...
Read more >
Per-User Customization - Virtualenvwrapper - Read the Docs
$VIRTUALENVWRAPPER_HOOK_DIR/get_env_details is run when workon is run with no arguments and a list of the virtual environments is printed. The hook is run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found