Source code for angr.knowledge_plugins.key_definitions.unknown_size
[docs]classUnknownSize:""" A value indicating an unknown size for elements of DataSets. Should "behave" like an integer. """def__add__(self,other):returnselfdef__radd__(self,other):returnselfdef__sub__(self,other):returnselfdef__rsub__(self,other):returnselfdef__floordiv__(self,other):returnselfdef__lshift__(self,other):returnselfdef__rlshift__(self,other):returnselfdef__rshift__(self,other):returnselfdef__rrshift__(self,other):returnselfdef__and__(self,other):returnselfdef__rand__(self,other):returnselfdef__xor__(self,other):returnselfdef__rxor__(self,other):returnselfdef__or__(self,other):returnselfdef__ror__(self,other):returnselfdef__neg__(self):returnselfdef__eq__(self,other):returntype(other)isUnknownSizedef__ne__(self,other):returnnot(self==other)def__le__(self,other):returnFalsedef__lt__(self,other):returnFalsedef__ge__(self,other):returnTruedef__gt__(self,other):returnTruedef__hash__(self):returnhash("unknown size")def__str__(self):return"<UnknownSize>"def__repr__(self):return"<UnknownSize>"