diff options
| author | Stephen Tong <v35stong@users.noreply.github.com> | 2019-05-23 16:51:03 -0400 |
|---|---|---|
| committer | Stephen Tong <v35stong@users.noreply.github.com> | 2019-05-28 13:17:54 -0400 |
| commit | 46ea950b5d147e14348806ab8ce6b0265efee06f (patch) | |
| tree | 6246e4753beda08f4d3cb5abb950a68ac37de71c /function.cpp | |
| parent | 131952a79f4efebd71117376310f2a8726e118b0 (diff) | |
WIP: Support adding user-defined xrefs
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 5 |
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 { |
