|
37 | 37 | // Current ABI version for linking to the core. This is incremented any time |
38 | 38 | // there are changes to the API that affect linking, including new functions, |
39 | 39 | // new types, or modifications to existing functions or types. |
40 | | -#define BN_CURRENT_CORE_ABI_VERSION 108 |
| 40 | +#define BN_CURRENT_CORE_ABI_VERSION 109 |
41 | 41 |
|
42 | 42 | // Minimum ABI version that is supported for loading of plugins. Plugins that |
43 | 43 | // are linked to an ABI version less than this will not be able to load and |
@@ -1024,6 +1024,9 @@ extern "C" |
1024 | 1024 |
|
1025 | 1025 | // HLIL expression can be folded into other expressions or has been folded |
1026 | 1026 | HLILFoldableExpr = 0x100, |
| 1027 | + |
| 1028 | + // HLIL condition can be displayed as the inverse |
| 1029 | + HLILInvertableCondition = 0x200, |
1027 | 1030 | } BNILInstructionAttribute; |
1028 | 1031 |
|
1029 | 1032 | typedef enum BNIntrinsicClass |
@@ -4993,6 +4996,8 @@ extern "C" |
4993 | 4996 | BNFunction* func, const BNVariable* var, BNDeadStoreElimination mode); |
4994 | 4997 | BINARYNINJACOREAPI BNExprFolding BNGetExprFolding(BNFunction* func, uint64_t addr); |
4995 | 4998 | BINARYNINJACOREAPI void BNSetExprFolding(BNFunction* func, uint64_t addr, BNExprFolding mode); |
| 4999 | + BINARYNINJACOREAPI bool BNIsConditionInverted(BNFunction* func, uint64_t addr); |
| 5000 | + BINARYNINJACOREAPI void BNSetConditionInverted(BNFunction* func, uint64_t addr, bool invert); |
4996 | 5001 | BINARYNINJACOREAPI BNMergedVariable* BNGetMergedVariables(BNFunction* func, size_t* count); |
4997 | 5002 | BINARYNINJACOREAPI void BNFreeMergedVariableList(BNMergedVariable* vars, size_t count); |
4998 | 5003 | BINARYNINJACOREAPI void BNMergeVariables(BNFunction* func, const BNVariable* target, const BNVariable* sources, |
|
0 commit comments