From 46ea950b5d147e14348806ab8ce6b0265efee06f Mon Sep 17 00:00:00 2001 From: Stephen Tong Date: Thu, 23 May 2019 16:51:03 -0400 Subject: WIP: Support adding user-defined xrefs --- python/function.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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 -- cgit v1.3.1