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 --- function.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'function.cpp') diff --git a/function.cpp b/function.cpp index 5b65be00..7ef0926c 100644 --- a/function.cpp +++ b/function.cpp @@ -245,6 +245,11 @@ void Function::SetCommentForAddress(uint64_t addr, const string& comment) BNSetCommentForAddress(m_object, addr, comment.c_str()); } +void Function::SetUserXref(uint64_t addr, uint64_t target) +{ + BNSetUserXref(m_object, addr, target); +} + Ref Function::GetLowLevelIL() const { -- cgit v1.3.1