summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorStephen Tong <v35stong@users.noreply.github.com>2019-05-23 16:51:03 -0400
committerStephen Tong <v35stong@users.noreply.github.com>2019-05-28 13:17:54 -0400
commit46ea950b5d147e14348806ab8ce6b0265efee06f (patch)
tree6246e4753beda08f4d3cb5abb950a68ac37de71c /binaryninjacore.h
parent131952a79f4efebd71117376310f2a8726e118b0 (diff)
WIP: Support adding user-defined xrefs
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index cc707770..c1397596 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2528,6 +2528,8 @@ extern "C"
BINARYNINJACOREAPI void BNSetFunctionComment(BNFunction* func, const char* comment);
BINARYNINJACOREAPI void BNSetCommentForAddress(BNFunction* func, uint64_t addr, const char* comment);
+ BINARYNINJACOREAPI void BNSetUserXref(BNFunction* func, uint64_t addr, uint64_t target);
+
BINARYNINJACOREAPI BNBasicBlock* BNNewBasicBlockReference(BNBasicBlock* block);
BINARYNINJACOREAPI void BNFreeBasicBlock(BNBasicBlock* block);
BINARYNINJACOREAPI BNBasicBlock** BNGetFunctionBasicBlockList(BNFunction* func, size_t* count);