summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp5
1 files changed, 5 insertions, 0 deletions
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<LowLevelILFunction> Function::GetLowLevelIL() const
{