Commit Graph

6 Commits

Author SHA1 Message Date
samy kamkar
48f6df1b40 Simplify dirnames + support prehyphen dirs 2026-03-09 04:03:08 -07:00
samy kamkar
d552692fb3 Prevent segfault from known bash expansion bug
ghidraRun (and launch.sh) both seg fault in some macOS bash
installations via the bash expansions performed in in ghidraRun,
launch.sh, and a few other scripts. This happens on my macports
bash installation and has been reported in homebrew bash
installations as well
(https://github.com/orgs/Homebrew/discussions/6270)

My specific bash that seg faults:
GNU bash, version 5.3.9(1)-release (aarch64-apple-darwin24.6.0)

We can avoid the expansion and use an alternate expansion method.

Scripts were updated via:
```sh
perl -pi -e 's~^(\w+)\s*=\s*"\$\{(\w+)%/\*\}"\s*$~$1="\$(cd "\$(dirname "\$$2")" && pwd)"~' `find Ghidra/RuntimeScripts/Linux/`
```
2026-03-06 12:20:44 -08:00
Ryan Kurtz
7525f3c4be GP-6350: You can now set PyGhidra Java options via an assortment of
environment variables (Closes #8942)
2026-02-09 06:13:26 -05:00
Ryan Kurtz
faf55a8de6 GP-5078: Improvements to Ghidra Module directory layout 2024-10-31 10:34:26 -04:00
Ryan Kurtz
224ffee47a GP-0: Fixing script file permissions 2024-10-04 07:52:09 -04:00
Ryan Kurtz
5b81139197 Renaming Pyhidra to PyGhidra 2024-09-09 10:50:12 -04:00