MCPcopy Create free account
hub / github.com/HexHive/NASS / __init__

Method __init__

tools/gef.py:660–667  ·  view source on GitHub ↗
(self, **kwargs: Any)

Source from the content-addressed store, hash-verified

658 """GEF representation of process memory sections."""
659
660 def __init__(self, **kwargs: Any) -> None:
661 self.page_start: int = kwargs.get("page_start", 0)
662 self.page_end: int = kwargs.get("page_end", 0)
663 self.offset: int = kwargs.get("offset", 0)
664 self.permission: Permission = kwargs.get("permission", Permission(0))
665 self.inode: int = kwargs.get("inode", 0)
666 self.path: str = kwargs.get("path", "")
667 return
668
669 def is_readable(self) -> bool:
670 return (self.permission & Permission.READ) != 0

Callers

nothing calls this directly

Calls 2

PermissionClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected