Skip to content

feat(scripts): support snap installed ghidra - #50

Open
mhbahmani wants to merge 3 commits into
mitsuhiko:mainfrom
mhbahmani:main
Open

feat(scripts): support snap installed ghidra#50
mhbahmani wants to merge 3 commits into
mitsuhiko:mainfrom
mhbahmani:main

Conversation

@mhbahmani

@mhbahmani mhbahmani commented Aug 2, 2026

Copy link
Copy Markdown

I used snap to install ghidra, but find-ghidra script can not find the gidra. It's because of two reasons:

  • It doesn't check for /snap/bin
  • It looks for analyzeHeadless with -type f which only find regular files. But with snap, there would be a ghidra.analyzeHeadless which is a symlink to snap bin. So -xtype f can be used so that it follows the symlinks and does nothing on regular files.

I also added a quick check with command.

@mhbahmani mhbahmani changed the title Support snap installed ghidra feat(scripts): support snap installed ghidra Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant