mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -05:00
Candidate release of source code.
This commit is contained in:
22
Ghidra/RuntimeScripts/Windows/support/ghidraDebug.bat
Normal file
22
Ghidra/RuntimeScripts/Windows/support/ghidraDebug.bat
Normal file
@@ -0,0 +1,22 @@
|
||||
:: Ghidra debug launch
|
||||
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Maximum heap memory size
|
||||
:: Default for Windows 32-bit is 768M and 64-bit is 1024M
|
||||
:: Raising the value too high may cause a silent failure where
|
||||
:: Ghidra fails to launch.
|
||||
:: Uncomment MAXMEM setting if non-default value is needed
|
||||
|
||||
::set MAXMEM=768M
|
||||
|
||||
:: Debug launch mode can be changed to one of the following:
|
||||
:: debug, debug-suspend
|
||||
set LAUNCH_MODE=debug
|
||||
|
||||
:: Set the debug address to listen on.
|
||||
:: NOTE: This variable is ignored if not launching in a debugging mode.
|
||||
set DEBUG_ADDRESS=127.0.0.1:18001
|
||||
|
||||
call "%~dp0launch.bat" %LAUNCH_MODE% Ghidra "%MAXMEM%" "" ghidra.GhidraRun %*
|
||||
Reference in New Issue
Block a user