mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
@@ -396,7 +396,7 @@ public class SleighCompile extends SleighBase {
|
||||
reportError(qual.location,
|
||||
String.format(
|
||||
"Size of bitfield %s=(%d,%d) larger than %d bits in context register '%s'",
|
||||
qual.name, min, (8 * 4), sym.getName()));
|
||||
qual.name, min, max, (8 * 4), sym.getName()));
|
||||
|
||||
}
|
||||
if (max > maxBits) {
|
||||
|
||||
@@ -24,7 +24,7 @@ set "SERVER_DIR=%~dp0"
|
||||
set "SERVER_DIR=%SERVER_DIR:~0,-1%"
|
||||
|
||||
rem Ensure Ghidra path doesn't contain illegal characters
|
||||
if not %SERVER_DIR:!=%==%SERVER_DIR% (
|
||||
if not "%SERVER_DIR:!=%"=="%SERVER_DIR%" (
|
||||
echo Ghidra path cannot contain a "!" character.
|
||||
exit /B 1
|
||||
)
|
||||
|
||||
@@ -39,7 +39,7 @@ set "SUPPORT_DIR=%~dp0"
|
||||
set "SUPPORT_DIR=%SUPPORT_DIR:~0,-1%"
|
||||
|
||||
:: Ensure Ghidra path doesn't contain illegal characters
|
||||
if not %SUPPORT_DIR:!=%==%SUPPORT_DIR% (
|
||||
if not "%SUPPORT_DIR:!=%"=="%SUPPORT_DIR%" (
|
||||
echo Ghidra path cannot contain a "!" character.
|
||||
set ERRORLEVEL=1
|
||||
goto exit1
|
||||
|
||||
Reference in New Issue
Block a user