mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -05:00
Fix script directory path expansion in analyzeHeadless.bat
This commit is contained in:
committed by
Ryan Kurtz
parent
fa4a390309
commit
693fe5f85a
@@ -22,6 +22,9 @@ set DEBUG_ADDRESS=127.0.0.1:13002
|
||||
set VMARG_LIST=-XX:ParallelGCThreads=2
|
||||
set VMARG_LIST=%VMARG_LIST% -XX:CICompilerCount=2
|
||||
|
||||
:: Store current path
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
|
||||
:: Loop through parameters (if there aren't any, just continue) and store
|
||||
:: in params variable.
|
||||
|
||||
@@ -49,4 +52,4 @@ goto Loop
|
||||
|
||||
:cont
|
||||
|
||||
call "%~dp0launch.bat" %LAUNCH_MODE% Ghidra-Headless "%MAXMEM%" "%VMARG_LIST%" ghidra.app.util.headless.AnalyzeHeadless %params%
|
||||
call "%SCRIPT_DIR%launch.bat" %LAUNCH_MODE% Ghidra-Headless "%MAXMEM%" "%VMARG_LIST%" ghidra.app.util.headless.AnalyzeHeadless %params%
|
||||
|
||||
Reference in New Issue
Block a user