mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 14:45:07 +08:00
GP-6463: fix for OPT_OS_WINDOW (Closes #8987)
This commit is contained in:
@@ -54,6 +54,7 @@ function Compute-Python-Args {
|
||||
return $arglist
|
||||
}
|
||||
|
||||
$Env:OPT_OS_WINDOWS = $true
|
||||
$tmpfile = "local-dbgeng-attach.py"
|
||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ function Compute-Python-Args {
|
||||
return $arglist
|
||||
}
|
||||
|
||||
$Env:OPT_OS_WINDOWS = $true
|
||||
$tmpfile = "local-dbgeng.py"
|
||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ args = os.getenv('OPT_TARGET_ARGS')
|
||||
|
||||
def parse_parameters():
|
||||
global cxn, target, args
|
||||
os.environ['OPT_OS_WINDOWS'] = "true"
|
||||
argc = len(sys.argv)
|
||||
if argc == 1:
|
||||
return True
|
||||
|
||||
@@ -57,6 +57,7 @@ function Compute-Python-Args {
|
||||
return $arglist
|
||||
}
|
||||
|
||||
$Env:OPT_OS_WINDOWS = $true
|
||||
$tmpfile = "local-x64dbg-attach.py"
|
||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ function Compute-Python-Args {
|
||||
return $arglist
|
||||
}
|
||||
|
||||
$Env:OPT_OS_WINDOWS = $true
|
||||
$tmpfile = "local-x64dbg.py"
|
||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@ initdir = os.getenv('OPT_TARGET_DIR')
|
||||
|
||||
def parse_parameters():
|
||||
global cxn, target, args, initdir
|
||||
os.environ['OPT_OS_WINDOWS'] = "true"
|
||||
argc = len(sys.argv)
|
||||
if argc == 1:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user