mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 02:38:43 +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
|
return $arglist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$Env:OPT_OS_WINDOWS = $true
|
||||||
$tmpfile = "local-dbgeng-attach.py"
|
$tmpfile = "local-dbgeng-attach.py"
|
||||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ function Compute-Python-Args {
|
|||||||
return $arglist
|
return $arglist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$Env:OPT_OS_WINDOWS = $true
|
||||||
$tmpfile = "local-dbgeng.py"
|
$tmpfile = "local-dbgeng.py"
|
||||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ args = os.getenv('OPT_TARGET_ARGS')
|
|||||||
|
|
||||||
def parse_parameters():
|
def parse_parameters():
|
||||||
global cxn, target, args
|
global cxn, target, args
|
||||||
os.environ['OPT_OS_WINDOWS'] = "true"
|
|
||||||
argc = len(sys.argv)
|
argc = len(sys.argv)
|
||||||
if argc == 1:
|
if argc == 1:
|
||||||
return True
|
return True
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ function Compute-Python-Args {
|
|||||||
return $arglist
|
return $arglist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$Env:OPT_OS_WINDOWS = $true
|
||||||
$tmpfile = "local-x64dbg-attach.py"
|
$tmpfile = "local-x64dbg-attach.py"
|
||||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ function Compute-Python-Args {
|
|||||||
return $arglist
|
return $arglist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$Env:OPT_OS_WINDOWS = $true
|
||||||
$tmpfile = "local-x64dbg.py"
|
$tmpfile = "local-x64dbg.py"
|
||||||
$arglist = Compute-Python-Args -TempFile $tmpfile
|
$arglist = Compute-Python-Args -TempFile $tmpfile
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ initdir = os.getenv('OPT_TARGET_DIR')
|
|||||||
|
|
||||||
def parse_parameters():
|
def parse_parameters():
|
||||||
global cxn, target, args, initdir
|
global cxn, target, args, initdir
|
||||||
os.environ['OPT_OS_WINDOWS'] = "true"
|
|
||||||
argc = len(sys.argv)
|
argc = len(sys.argv)
|
||||||
if argc == 1:
|
if argc == 1:
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user