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 664afcd0..39ace7c6 100644
--- a/python/function.py
+++ b/python/function.py
@@ -225,9 +225,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 %s>" % repr(self.values)
+ return "<in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in self.values))
if self.type == RegisterValueType.NotInSetOfValues:
- return "<not in %s>" % repr(self.values)
+ return "<not in set(%s)>" % '[{}]'.format(', '.join(hex(i) for i in self.values))
if self.type == RegisterValueType.ReturnAddressValue:
return "<return address>"
return "<undetermined>"