summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorStephen Tong <v35stong@users.noreply.github.com>2019-05-23 18:45:59 -0400
committerStephen Tong <v35stong@users.noreply.github.com>2019-05-28 13:17:54 -0400
commit9c570077a562b4c45e80e6d0cf32f00909e8ebd1 (patch)
tree7e5f3d951ae4d9ae707bb679780df2ac1e1f9dbb /python/function.py
parent46ea950b5d147e14348806ab8ce6b0265efee06f (diff)
Redo/Undo support for user-defined xrefs
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py
index 1aea500d..36d47791 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1296,6 +1296,9 @@ class Function(object):
def set_user_xref(self, addr, target):
core.BNSetUserXref(self.handle, addr, target)
+ def remove_user_xref(self, addr, target):
+ core.BNRemoveUserXref(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