summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-10-23 22:29:15 -0400
committerPeter LaFosse <peter@vector35.com>2018-10-24 21:31:48 -0400
commit3cc05db3e42d402cb03fe3fb8ca582e3ded882f7 (patch)
tree816b76258e18809da59f60a847ab6067a5ad5c67 /binaryninjacore.h
parentec7d4ac5ecfb59ce98ac64f2ed889b73655df746 (diff)
Add new APIs for querying data references
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 161a23af..4e736e38 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2596,6 +2596,9 @@ extern "C"
BINARYNINJACOREAPI BNReferenceSource* BNGetCodeReferencesInRange(BNBinaryView* view, uint64_t addr,
uint64_t len, size_t* count);
BINARYNINJACOREAPI void BNFreeCodeReferences(BNReferenceSource* refs, size_t count);
+ BINARYNINJACOREAPI uint64_t* BNGetDataReferences(BNBinaryView* view, uint64_t addr, size_t* count);
+ BINARYNINJACOREAPI uint64_t* BNGetDataReferencesInRange(BNBinaryView* view, uint64_t addr, uint64_t len, size_t* count);
+ BINARYNINJACOREAPI void BNFreeDataReferences(uint64_t* refs);
BINARYNINJACOREAPI void BNRegisterGlobalFunctionRecognizer(BNFunctionRecognizer* rec);