summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2020-01-20 16:27:21 -0500
committerRyan Snyder <ryan@vector35.com>2020-01-20 16:27:58 -0500
commit42ccc6295db9d752bd1f78969153a77bca56988e (patch)
tree5ce408ea99f3a5ddab3e2fb5b276ce4da26cefb5 /binaryninjacore.h
parente4b45718df111abcc79eb353c4ab106e130e4ef1 (diff)
expose overriding call types at individual call sites
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 81ecc8af..2d531c33 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2861,6 +2861,10 @@ __attribute__ ((format (printf, 1, 2)))
uint64_t addr, size_t* count);
BINARYNINJACOREAPI void BNFreeIndirectBranchList(BNIndirectBranchInfo* branches);
+ BINARYNINJACOREAPI void BNSetAutoCallTypeAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr,
+ BNTypeWithConfidence* type);
+ BINARYNINJACOREAPI void BNSetUserCallTypeAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr,
+ BNTypeWithConfidence* type);
BINARYNINJACOREAPI void BNSetAutoCallStackAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr,
int64_t adjust, uint8_t confidence);
BINARYNINJACOREAPI void BNSetUserCallStackAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr,
@@ -2874,6 +2878,7 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI void BNSetUserCallRegisterStackAdjustmentForRegisterStack(BNFunction* func,
BNArchitecture* arch, uint64_t addr, uint32_t regStack, int32_t adjust, uint8_t confidence);
+ BINARYNINJACOREAPI BNTypeWithConfidence BNGetCallTypeAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr);
BINARYNINJACOREAPI BNOffsetWithConfidence BNGetCallStackAdjustment(BNFunction* func, BNArchitecture* arch, uint64_t addr);
BINARYNINJACOREAPI BNRegisterStackAdjustment* BNGetCallRegisterStackAdjustment(BNFunction* func,
BNArchitecture* arch, uint64_t addr, size_t* count);