Commit Graph

23 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
ghidra1
996f6d5e8a GP-6067 Limit Ghidra Server service wrapper to 512MB heap size 2025-10-27 13:40:41 -04:00
ghidra1
66be2b6a2b GP-6067 Improve memory settings and docs related to Ghidra Server
service wrapper
2025-10-22 11:26:20 -04:00
ghidra1
5f338723b6 GP-5161 Corrected Ghidra Server CME, document updates, and launch script improvements to control Java home determination. 2025-01-03 13:19:43 -05:00
Ryan Kurtz
1929645373 GP-0: Launch headless scripts in headless mode to avoid macOS Dock
activity (Closes #6859)
2024-10-11 07:13:39 -04:00
Ryan Kurtz
2a0c9c9d39 GP-0: Fixing old JDK 17 reference in ghidraSvr scripts 2024-08-21 06:26:20 -04:00
zebrapurring
f6217673e6 Fix srvAdmin compatibility with BSD systems 2023-04-30 22:26:14 +02:00
Ryan Kurtz
0069538469 GP-3140: Ghidra can now run from development/repository mode using Gradle's compiled classes/jars, instead of just relying on Eclipse's compilation output 2023-03-03 16:02:58 -05:00
Ryan Kurtz
e2c3d53a05 GP-3053: Control over tmp dir location in GhidraServer 2023-02-23 13:07:15 -05:00
Ryan Kurtz
2536099c0e GP-0: Updating reference to supported java version in ghidraSvr scripts 2022-08-26 14:13:00 -04:00
Ryan Kurtz
4491a0fd6e GP-2301: Each launch script can now specify if they require a JDK or JRE
to run.  Allows svrAdmin to run with just a JRE, like the GhidraServer.
2022-08-12 03:39:36 -04:00
Ryan Kurtz
7e6eea065f GP-1266: Upgrading YAJSW to 13.01-beta to support JDK 17 2021-11-05 07:11:46 -04:00
Ryan Kurtz
38edc05f81 GP-1057: Preventing Ghidra from launching when path contains !. Also
updating Installation Guide's "Known Issues" section.
2021-06-22 13:45:48 -04:00
Ryan Kurtz
2a8afd5296 GP-693: Additional improvements 2021-02-24 14:14:04 -05:00
Ryan Kurtz
df114d13a6 GP-693: Forgot to change linux scripts where needed 2021-02-19 11:40:08 -05:00
ghidra1
8f65942fd0 GT-3640 added support for specifying user password for server add/reset
commands
2020-07-13 17:31:28 -04:00
Sandor Nemes
6446bb2cf1 Fixed argument passing when run with sudo 2019-08-14 13:31:33 +02:00
ghidra1
1cae5552f6 Merge branch 'patch'
Conflicts:
	gradleScripts/distribution.gradle
2019-04-25 17:32:19 -04:00
ghidra1
038d4462d3 GT-2740 script corrections 2019-04-10 17:42:12 -04:00
ghidra1
00acea89c2 GT-2740 corrected svrAdmin and createPdbXmlFiles script use in
development mode.  Other minor cleanup.
2019-04-09 18:36:36 -04:00
Jeremy O'Brien
9996620802 Make bash scripts more portable 2019-04-04 20:58:57 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00