mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-26 15:14:20 +08:00
Merge branch 'GP-0_ryanmkurtz_PR-4687_xEgoist_pdb-os-path'
This commit is contained in:
@@ -28,14 +28,7 @@ set OS_DIR=build\os
|
||||
REM create absolute path
|
||||
for /f "delims=" %%i in ("%GHIDRA_DIR%") do set GHIDRA_DIR=%%~fi
|
||||
|
||||
REM Determine if 64-bit or 32-bit
|
||||
if exist "%PROGRAMFILES(X86)%" (
|
||||
set OS_TYPE=win64
|
||||
) else (
|
||||
set OS_TYPE=win32
|
||||
)
|
||||
|
||||
set "PDB_EXE=%GHIDRA_DIR%\Features\PDB\%OS_DIR%\%OS_TYPE%\pdb.exe"
|
||||
set "PDB_EXE=%GHIDRA_DIR%\Features\PDB\%OS_DIR%\win_x86_64\pdb.exe"
|
||||
|
||||
if not exist "%PDB_EXE%" (
|
||||
echo "%PDB_EXE% not found"
|
||||
|
||||
Reference in New Issue
Block a user