diff options
| author | Ryan Snyder <ryan@vector35.com> | 2020-01-20 16:27:21 -0500 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2020-01-20 16:27:58 -0500 |
| commit | 42ccc6295db9d752bd1f78969153a77bca56988e (patch) | |
| tree | 5ce408ea99f3a5ddab3e2fb5b276ce4da26cefb5 /binaryninjacore.h | |
| parent | e4b45718df111abcc79eb353c4ab106e130e4ef1 (diff) | |
expose overriding call types at individual call sites
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 5 |
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); |
