summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/function.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py
index 9d70d5be..1aea500d 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1293,6 +1293,9 @@ class Function(object):
"""
core.BNSetCommentForAddress(self.handle, addr, comment)
+ def set_user_xref(self, addr, target):
+ core.BNSetUserXref(self.handle, addr, target)
+
def get_low_level_il_at(self, addr, arch=None):
"""
``get_low_level_il_at`` gets the LowLevelILInstruction corresponding to the given virtual address