summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-08-26 22:23:12 -0400
committerPeter LaFosse <peter@vector35.com>2017-08-26 22:23:12 -0400
commitda388dd42cdee70facb084b3012214ca33014fa7 (patch)
treecad30eea655e91c03fc6f3ad94103707fd91c430 /binaryninjacore.h
parent71a1a997e9be461a841a0f801bd19a23ad62f106 (diff)
Adding Function level comment APIs
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 44858e6f..f81b821c 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2041,9 +2041,11 @@ extern "C"
BINARYNINJACOREAPI void BNSetFunctionAutoType(BNFunction* func, BNType* type);
BINARYNINJACOREAPI void BNSetFunctionUserType(BNFunction* func, BNType* type);
+ BINARYNINJACOREAPI char* BNGetFunctionComment(BNFunction* func);
BINARYNINJACOREAPI char* BNGetCommentForAddress(BNFunction* func, uint64_t addr);
BINARYNINJACOREAPI uint64_t* BNGetCommentedAddresses(BNFunction* func, size_t* count);
BINARYNINJACOREAPI void BNFreeAddressList(uint64_t* addrs);
+ BINARYNINJACOREAPI void BNSetFunctionComment(BNFunction* func, const char* comment);
BINARYNINJACOREAPI void BNSetCommentForAddress(BNFunction* func, uint64_t addr, const char* comment);
BINARYNINJACOREAPI BNBasicBlock* BNNewBasicBlockReference(BNBasicBlock* block);