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

Method map_section

windows/alpc.py:428–435  ·  view source on GitHub ↗
(self, section_handle, size, flags=0)

Source from the content-addressed store, hash-verified

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()
430 view_attributes.Flags = 0
431 view_attributes.SectionHandle = section_handle
432 view_attributes.ViewBase = 0
433 view_attributes.ViewSize = size
434 r = winproxy.NtAlpcCreateSectionView(self.handle, flags, view_attributes)
435 return view_attributes
436
437 def disconnect(self):
438 if self.handle:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected