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 --- binaryninjacore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjacore.h') 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); -- cgit v1.3.1