MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / peb_syswow

Method peb_syswow

windows/winobject/process.py:1213–1223  ·  view source on GitHub ↗

The 64bits PEB of a SysWow64 process :type: :class:`PEB`

(self)

Source from the content-addressed store, hash-verified

1211 # Try with a weakref ?
1212 @property
1213 def peb_syswow(self):
1214 """The 64bits PEB of a SysWow64 process
1215
1216 :type: :class:`PEB`
1217 """
1218 if not self.is_wow_64:
1219 raise ValueError("Not a syswow process")
1220 if windows.current_process.bitness == 64:
1221 return RemotePEB(self.peb_syswow_addr, self)
1222 else: #current is 32bits
1223 return RemotePEB64(self.peb_syswow_addr, windows.syswow64.ReadSyswow64Process(self))
1224
1225 def exit(self, code=0):
1226 """Exit the process"""

Callers

nothing calls this directly

Calls 2

RemotePEBClass · 0.85
RemotePEB64Class · 0.85

Tested by

no test coverage detected