mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 06:27:59 -05:00
remove check for OS architecture in createPdbXmlFiles.bat
due to removal of 32-bit support it's no longer needed to check for OS type.
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=win_x86_64
|
||||
) 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