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

Method __init__

windows/alpc.py:354–359  ·  view source on GitHub ↗

Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given

(self, port_name=None)

Source from the content-addressed store, hash-verified

352 "An ALPC client able to connect to a port and send/receive messages"
353
354 def __init__(self, port_name=None):
355 """Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given"""
356 self.handle = None
357 self.port_name = None #: The name of the ALPC port the client is connect to.
358 if port_name is not None:
359 x = self.connect_to_port(port_name, "")
360
361 def _alpc_port_to_unicode_string(self, name):
362 return gdef.UNICODE_STRING.from_string(name)

Callers

nothing calls this directly

Calls 1

connect_to_portMethod · 0.95

Tested by

no test coverage detected