summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2019-03-11 21:01:47 -0400
committerRyan Snyder <ryan@vector35.com>2019-03-12 12:44:29 -0400
commit902750648579d32cc83fbd91181ecea2c9e0c9e5 (patch)
treef8ef77532522fd8a47d64d249bff0322522bd757 /binaryninjacore.h
parent1188d02f0f5aed4a681eeb68c0e33803d5c06155 (diff)
api: update to support getting source blocks from IL blocks
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 7c8ea970..fcc2937b 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2584,6 +2584,7 @@ extern "C"
BINARYNINJACOREAPI BNFunction* BNGetBasicBlockFunction(BNBasicBlock* block);
BINARYNINJACOREAPI BNArchitecture* BNGetBasicBlockArchitecture(BNBasicBlock* block);
+ BINARYNINJACOREAPI BNBasicBlock* BNGetBasicBlockSource(BNBasicBlock* block);
BINARYNINJACOREAPI uint64_t BNGetBasicBlockStart(BNBasicBlock* block);
BINARYNINJACOREAPI uint64_t BNGetBasicBlockEnd(BNBasicBlock* block);
BINARYNINJACOREAPI uint64_t BNGetBasicBlockLength(BNBasicBlock* block);
@@ -2955,6 +2956,7 @@ extern "C"
BINARYNINJACOREAPI uint64_t BNLowLevelILGetCurrentAddress(BNLowLevelILFunction* func);
BINARYNINJACOREAPI void BNLowLevelILSetCurrentAddress(BNLowLevelILFunction* func,
BNArchitecture* arch, uint64_t addr);
+ BINARYNINJACOREAPI void BNLowLevelILSetCurrentSourceBlock(BNLowLevelILFunction* func, BNBasicBlock* source);
BINARYNINJACOREAPI size_t BNLowLevelILGetInstructionStart(BNLowLevelILFunction* func,
BNArchitecture* arch, uint64_t addr);
BINARYNINJACOREAPI void BNLowLevelILClearIndirectBranches(BNLowLevelILFunction* func);