From df48a9ee65c4fa3b60f3bfebb36aa03d8dd40f2d Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 21 Nov 2020 17:55:26 -0500 Subject: Add improved instruction mapping APIs. --- binaryninjaapi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 6009aa20..75d83ccc 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -3755,6 +3755,7 @@ __attribute__ ((format (printf, 1, 2))) Ref GetMappedMediumLevelIL() const; size_t GetMediumLevelILInstructionIndex(size_t instr) const; size_t GetMediumLevelILExprIndex(size_t expr) const; + std::set GetMediumLevelILExprIndexes(size_t expr) const; size_t GetMappedMediumLevelILInstructionIndex(size_t instr) const; size_t GetMappedMediumLevelILExprIndex(size_t expr) const; @@ -4098,6 +4099,7 @@ __attribute__ ((format (printf, 1, 2))) Ref GetLowLevelIL() const; size_t GetLowLevelILInstructionIndex(size_t instr) const; size_t GetLowLevelILExprIndex(size_t expr) const; + std::set GetLowLevelILExprIndexes(size_t expr) const; Ref GetHighLevelIL() const; size_t GetHighLevelILInstructionIndex(size_t instr) const; size_t GetHighLevelILExprIndex(size_t expr) const; @@ -4354,6 +4356,7 @@ __attribute__ ((format (printf, 1, 2))) Ref GetMediumLevelIL() const; size_t GetMediumLevelILExprIndex(size_t expr) const; + std::set GetMediumLevelILExprIndexes(size_t expr) const; void UpdateInstructionOperand(size_t i, size_t operandIndex, ExprId value); void ReplaceExpr(size_t expr, size_t newExpr); -- cgit v1.3.1