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

Method is_valid

windows/alpc.py:256–258  ·  view source on GitHub ↗

Return ``True`` if ``attribute`` is valid

(self, attribute)

Source from the content-addressed store, hash-verified

254 return bool(self.AllocatedAttributes & attribute)
255
256 def is_valid(self, attribute):
257 """Return ``True`` if ``attribute`` is valid"""
258 return bool(self.ValidAttributes & attribute)
259
260 def get_attribute(self, attribute):
261 if not self.is_allocated(attribute):

Callers 4

view_is_validMethod · 0.45
security_is_validMethod · 0.45
handle_is_validMethod · 0.45
context_is_validMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected