diff options
| author | Xusheng <xusheng@vector35.com> | 2022-09-30 16:35:17 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2022-10-05 11:35:20 +0800 |
| commit | 4792eaf70e1ebe2c2f2a68c188a65a0a46e39acf (patch) | |
| tree | ede7281639b235dbee57cd221d16d0da09d98a1f /binaryninjacore.h | |
| parent | 1268fa1d1d36d24d088982e61856d093a59611bd (diff) | |
Add SetExprType API to MLIL/HLIL
Add get/set_expr_type to MLIL/HLIL Python APi
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index f7d1a75f..ac0d90d6 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -5006,6 +5006,7 @@ extern "C" BINARYNINJACOREAPI size_t* BNGetHighLevelILExprIndexes(BNMediumLevelILFunction* func, size_t expr, size_t* count); BINARYNINJACOREAPI BNTypeWithConfidence BNGetMediumLevelILExprType(BNMediumLevelILFunction* func, size_t expr); + BINARYNINJACOREAPI void BNSetMediumLevelILExprType(BNMediumLevelILFunction* func, size_t expr, BNTypeWithConfidence* type); // High-level IL BINARYNINJACOREAPI BNHighLevelILFunction* BNCreateHighLevelILFunction(BNArchitecture* arch, BNFunction* func); @@ -5052,6 +5053,7 @@ extern "C" BNHighLevelILFunction* func, size_t expr, bool asFullAst, size_t* count, BNDisassemblySettings* settings); BINARYNINJACOREAPI BNTypeWithConfidence BNGetHighLevelILExprType(BNHighLevelILFunction* func, size_t expr); + BINARYNINJACOREAPI void BNSetHighLevelILExprType(BNHighLevelILFunction* func, size_t expr, BNTypeWithConfidence* type); BINARYNINJACOREAPI BNBasicBlock** BNGetHighLevelILBasicBlockList(BNHighLevelILFunction* func, size_t* count); BINARYNINJACOREAPI BNBasicBlock* BNGetHighLevelILBasicBlockForInstruction(BNHighLevelILFunction* func, size_t i); |
