mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
More limitation identification for x86 on arm64 heaven gate
This commit is contained in:
@@ -780,6 +780,8 @@ class CurrentProcess(Process):
|
||||
"""
|
||||
if not self.is_wow_64:
|
||||
raise ValueError("Not a syswow process")
|
||||
if windows.current_process._is_x86_on_arm64:
|
||||
raise NotImplementedError("Crossing heaven gate x86 -> arm64 not implemented")
|
||||
return windows.syswow64.get_current_process_syswow_peb()
|
||||
|
||||
# TODO: use ctypes.string_at / ctypes.wstring_at for read_string / read_wstring ?
|
||||
@@ -1252,6 +1254,10 @@ class WinProcess(Process):
|
||||
def peb_syswow_addr(self):
|
||||
if not self.is_wow_64:
|
||||
raise ValueError("Not a syswow process")
|
||||
|
||||
if windows.current_process._is_x86_on_arm64:
|
||||
raise NotImplementedError("Crossing heaven gate x86 -> arm64 not implemented")
|
||||
|
||||
if windows.current_process.bitness == 64:
|
||||
information_type = 0
|
||||
x = PROCESS_BASIC_INFORMATION()
|
||||
|
||||
Reference in New Issue
Block a user