diff options
| author | Xusheng <xusheng@vector35.com> | 2021-02-16 18:34:59 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-04-16 13:40:55 +0800 |
| commit | b6feff3f3d3bdcb4bea983a085f4ed794e186940 (patch) | |
| tree | b41a84f4dac229f21609932c7b5ec0d29507fa4f /binaryninjacore.h | |
| parent | e8b9e5e4520522bcfcd5b2ed2b343892f171d750 (diff) | |
add a DisassemblySettings* parameter to MLIL/HLIL functions that retrieve instruction/expr text
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index f5ea815b..47e0d69d 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -28,14 +28,14 @@ // Current ABI version for linking to the core. This is incremented any time // there are changes to the API that affect linking, including new functions, // new types, or modifications to existing functions or types. -#define BN_CURRENT_CORE_ABI_VERSION 3 +#define BN_CURRENT_CORE_ABI_VERSION 4 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and // will require rebuilding. The minimum version is increased when there are // incompatible changes that break binary compatibility, such as changes to // existing types or functions. -#define BN_MINIMUM_CORE_ABI_VERSION 2 +#define BN_MINIMUM_CORE_ABI_VERSION 3 #ifdef __GNUC__ # ifdef BINARYNINJACORE_LIBRARY @@ -4024,9 +4024,10 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI void BNReplaceMediumLevelILExpr(BNMediumLevelILFunction* func, size_t expr, size_t newExpr); BINARYNINJACOREAPI bool BNGetMediumLevelILExprText(BNMediumLevelILFunction* func, BNArchitecture* arch, size_t i, - BNInstructionTextToken** tokens, size_t* count); + BNInstructionTextToken** tokens, size_t* count, + BNDisassemblySettings* settings); BINARYNINJACOREAPI bool BNGetMediumLevelILInstructionText(BNMediumLevelILFunction* il, BNFunction* func, - BNArchitecture* arch, size_t i, BNInstructionTextToken** tokens, size_t* count); + BNArchitecture* arch, size_t i, BNInstructionTextToken** tokens, size_t* count, BNDisassemblySettings* settings); BINARYNINJACOREAPI BNBasicBlock** BNGetMediumLevelILBasicBlockList(BNMediumLevelILFunction* func, size_t* count); BINARYNINJACOREAPI BNBasicBlock* BNGetMediumLevelILBasicBlockForInstruction(BNMediumLevelILFunction* func, size_t i); @@ -4149,7 +4150,7 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI void BNReplaceHighLevelILExpr(BNHighLevelILFunction* func, size_t expr, size_t newExpr); BINARYNINJACOREAPI BNDisassemblyTextLine* BNGetHighLevelILExprText(BNHighLevelILFunction* func, size_t expr, - bool asFullAst, size_t* count); + bool asFullAst, size_t* count, BNDisassemblySettings* settings); BINARYNINJACOREAPI BNTypeWithConfidence BNGetHighLevelILExprType(BNHighLevelILFunction* func, size_t expr); |
