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

Method __enter__

windows/winobject/exception.py:355–357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

353 self.pos = pos
354
355 def __enter__(self):
356 self.value = windows.winproxy.AddVectoredExceptionHandler(self.pos, self.handler)
357 return self
358
359 def __exit__(self, exc_type, exc_value, traceback):
360 windows.winproxy.RemoveVectoredExceptionHandler(self.value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected