summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorrollsafe <rollsafe@users.noreply.github.com>2019-05-31 18:36:25 -0400
committerrollsafe <rollsafe@users.noreply.github.com>2019-06-05 18:00:02 -0400
commit522b1b7395fb4cbdba40b49c73b1f7577524fb1a (patch)
tree587300fe8fba597fffc22b9b148c63d2c9efc9c7 /binaryninjacore.h
parentfec6e3390631beea8c4ea8c3098191f20565abc2 (diff)
Add BinaryView.get_code_refs_from
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 174d09e0..d7c43150 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2695,6 +2695,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* BNGetCodeReferencesFrom(BNBinaryView* view, BNReferenceSource* src, size_t* count);
+ BINARYNINJACOREAPI uint64_t* BNGetCodeReferencesFromInRange(BNBinaryView* view, BNReferenceSource* src, uint64_t len, size_t* count);
+ BINARYNINJACOREAPI void BNFreeCodeReferencesFrom(uint64_t* refs);
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);