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

Method attribute

windows/security.py:512–516  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510
511 @property
512 def attribute(self):
513 # Sid-size not in the initial struct
514 sid_size_over = self.sid.size - type(self).SidStart.size
515 sec_attr_addr = ctypes.addressof(self) + ctypes.sizeof(self) + sid_size_over
516 return ClaimSecurityAttributeRelativeV1.from_address(sec_attr_addr)
517
518class SystemScopedPolicyIDACE(MaskAndSidACE, gdef.SYSTEM_SCOPED_POLICY_ID_ACE):
519 ACE_TYPE = gdef.SYSTEM_SCOPED_POLICY_ID_ACE_TYPE

Callers

nothing calls this directly

Calls 1

sizeofMethod · 0.45

Tested by

no test coverage detected