summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/function.py b/python/function.py
index 6da86196..3f908ef6 100644
--- a/python/function.py
+++ b/python/function.py
@@ -224,9 +224,9 @@ class PossibleValueSet(object):
if self.type == RegisterValueType.LookupTableValue:
return "<table: %s>" % ', '.join([repr(i) for i in self.table])
if self.type == RegisterValueType.InSetOfValues:
- return "<in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in self.values))
+ return "<in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in sorted(self.values)))
if self.type == RegisterValueType.NotInSetOfValues:
- return "<not in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in self.values))
+ return "<not in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in sorted(self.values)))
if self.type == RegisterValueType.ReturnAddressValue:
return "<return address>"
return "<undetermined>"