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

Method peb

windows/winobject/process.py:1180–1189  ·  view source on GitHub ↗

The PEB of the process (see :mod:`remotectypes`) :type: :class:`PEB`

(self)

Source from the content-addressed store, hash-verified

1178 # Try with a weakref ?
1179 @property
1180 def peb(self):
1181 """The PEB of the process (see :mod:`remotectypes`)
1182
1183 :type: :class:`PEB`
1184 """
1185 if windows.current_process.bitness == 32 and self.bitness == 64:
1186 return RemotePEB64(self.peb_addr, self)
1187 if windows.current_process.bitness == 64 and self.bitness == 32:
1188 return RemotePEB32(self.peb_addr, self)
1189 return RemotePEB(self.peb_addr, self)
1190
1191 @utils.fixedpropety
1192 def peb_syswow_addr(self):

Callers

nothing calls this directly

Calls 3

RemotePEB64Class · 0.85
RemotePEB32Class · 0.85
RemotePEBClass · 0.85

Tested by

no test coverage detected