Commit Graph

21 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
237688442f GP-0: Export "INSTALL_DIR" environment variable so it can be used in
launch.properties (#7505)
2026-01-28 09:38:43 -05:00
Ryan Kurtz
02567fd355 GP-6193: Environment variables can now be set in launch.properties using ENVVARS= or ENVVARS_[PLATFORM]= 2025-12-12 11:00:56 -05:00
Ryan Kurtz
0ee0537e45 GP-5598: Rename InstallationGuide to GettingStarted; put in installation
root dir
2025-04-21 11:58:26 -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
dev747368
c93024e367 GP-3542 Don't try to prompt user for JDK path when no tty present 2023-06-13 16:30:44 +00: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
af042aa2d1 GP-2987: Fixing a few launch issues (#4872, Closes #4893) 2023-01-13 07:50:53 -05:00
Ryan Kurtz
1640b544c3 GP-2987: No longer using eval in launch.sh 2023-01-06 06:44:15 -05: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
82eeb9c904 GP-2209: Disabling wildcard path expansion on foreground tasks 2022-08-04 13:00:38 -04:00
Ryan Kurtz
6b8813dbbc GP-1607: Fixed the "ERROR StatusLogger Reconfiguration failed" message
that appeared in the log when Ghidra was launched with
support/ghidraDebug.
2021-12-15 08:58:14 -05:00
Ryan Kurtz
e088d2a4ea GP-1304: Removing illegal access to java.desktop/sun.awt.X11. Has side
effect of changing application name on Linux from "Ghidra" to
"ghidra.Ghidra".
2021-09-23 14:42:11 -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
dc40114ee5 GP-815: New error message in launch.bat and launch.sh to make it more clear what the problem is when launching in dev mode when nothing has been compiled yet. 2021-03-30 14:28:23 -04:00
dragonmacher
ca2a6bbb0a Updated remote vm debug command-line options 2021-03-23 13:45:33 -04:00
ghidra1
162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
Ryan Kurtz
fa20ba3762 GT-2913: launch.properties can now take platform-specific VMARGS. 2019-07-25 11:31:08 -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