Commit Graph

10 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
b1768c6622 GP-6350: You can now set Ghidra Java options via an assortment of environment variables 2026-01-22 11:22:02 -05:00
Ryan Kurtz
082c04c545 GP-6213: You can now set Ghidra MAXMEM via an assortment of environment
variables
2026-01-05 12:01:19 -05:00
Ryosuke Takahashi
4d12936a7c fix java.awt.headless=true inconsistently not being set 2025-09-03 01:46:15 +09:00
ghidra1
ad532036ab GP-4173 Change bsim command line script to not specify MAXMEM 2024-01-05 16:51:39 -05:00
ghidra1
735cb1a5c3 GP-4173 Complete transition to using --option params with bsim and bsim_ctl commands 2024-01-03 17:29:45 -05:00
ghidra1
2fa140f6f8 GP-0 Updated BSim launch shell scripts 2023-12-18 14:51:03 -05:00
ghidra1
83affc3380 GP-0 Updated BSim launch shell scripts 2023-12-18 14:18:21 -05:00
caheckman
0865a3dfb0 GP-4009 Introduced BSim functionality including support for postgresql,
elasticsearch and h2 databases.  Added BSim correlator to Version
Tracking.
2023-12-05 08:30:51 -05:00