| 197 | |
| 198 | @dataclass(frozen=True, eq=False) |
| 199 | class ConstantDataRegisterValue(RegisterValue): |
| 200 | |
| 201 | def __repr__(self): |
| 202 | if self.type == RegisterValueType.ConstantDataZeroExtendValue: |
| 203 | return f"<const data {{zx.{self.size}({self.value:#x})}}>" |
| 204 | if self.type == RegisterValueType.ConstantDataSignExtendValue: |
| 205 | return f"<const data {{sx.{self.size}({self.value:#x})}}>" |
| 206 | if self.type == RegisterValueType.ConstantDataAggregateValue: |
| 207 | return f"<const data {{aggregate.{self.size}}} @ {self.value:#x}>" |
| 208 | return f"<const data {{invalid}} {self.type} {self.value:#x}>" |
| 209 | |
| 210 | |
| 211 | @dataclass(frozen=True, eq=False) |
no outgoing calls
no test coverage detected