MCPcopy Create free account
hub / github.com/bloomberg/pystack / __repr__

Method __repr__

src/pystack/maps.py:72–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 return self.end - self.start
71
72 def __repr__(self) -> str:
73 start = f"0x{self.start:016x}"
74 end = f"0x{self.end:016x}"
75 filesize = f"0x{self.filesize:x}"
76 offset = f"0x{self.offset:x}"
77 return (
78 f"VirtualMap(start={start!s}, end={end!s},"
79 f" filesize={filesize!s}, offset={offset!s},"
80 f" device={self.device!r}, flags={self.flags!r}, inode={self.inode!r},"
81 f" path={str(self.path)!r})"
82 )
83
84
85@dataclasses.dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected