summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binaryninjacore.h3
-rw-r--r--python/function.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index bb08c428..8536d56e 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -603,7 +603,8 @@ extern "C"
SignedRangeValue,
UnsignedRangeValue,
LookupTableValue,
- ComparisonResultValue
+ ComparisonResultValue,
+ ReturnAddressValue
};
struct BNLookupTableEntry
diff --git a/python/function.py b/python/function.py
index 86c93bf7..07187080 100644
--- a/python/function.py
+++ b/python/function.py
@@ -101,6 +101,8 @@ class RegisterValue(object):
return "<table: %s>" % ', '.join([repr(i) for i in self.table])
if self.type == RegisterValueType.OffsetFromUndeterminedValue:
return "<undetermined with offset %#x>" % self.offset
+ if self.type == RegisterValueType.ReturnAddressValue:
+ return "<return address>"
return "<undetermined>"