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

Method create_port_section

windows/alpc.py:421–426  ·  view source on GitHub ↗
(self, Flags, SectionHandle, SectionSize)

Source from the content-addressed store, hash-verified

419 return AlpcMessage(send_msg, receive_attr) if send_msg is not None else None
420
421 def create_port_section(self, Flags, SectionHandle, SectionSize):
422 AlpcSectionHandle = gdef.HANDLE()
423 ActualSectionSize = gdef.SIZE_T()
424 # RPCRT4 USE FLAGS 0x40000 ALPC_VIEWFLG_NOT_SECURE ?
425 winproxy.NtAlpcCreatePortSection(self.handle, Flags, SectionHandle, SectionSize, AlpcSectionHandle, ActualSectionSize)
426 return AlpcSection(AlpcSectionHandle.value, ActualSectionSize.value)
427
428 def map_section(self, section_handle, size, flags=0):
429 view_attributes = gdef.ALPC_DATA_VIEW_ATTR()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected