(self)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected