diff options
| author | Brian Potchik <brian@vector35.com> | 2020-11-21 17:55:26 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-11-21 17:55:26 -0500 |
| commit | df48a9ee65c4fa3b60f3bfebb36aa03d8dd40f2d (patch) | |
| tree | c4b5686db405729323bc06659bcc74135673fe9a /binaryninjaapi.h | |
| parent | 20b03bd36ec247b8c28dc1643f57b21ec94c8294 (diff) | |
Add improved instruction mapping APIs.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<MediumLevelILFunction> GetMappedMediumLevelIL() const; size_t GetMediumLevelILInstructionIndex(size_t instr) const; size_t GetMediumLevelILExprIndex(size_t expr) const; + std::set<size_t> 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<LowLevelILFunction> GetLowLevelIL() const; size_t GetLowLevelILInstructionIndex(size_t instr) const; size_t GetLowLevelILExprIndex(size_t expr) const; + std::set<size_t> GetLowLevelILExprIndexes(size_t expr) const; Ref<HighLevelILFunction> 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<MediumLevelILFunction> GetMediumLevelIL() const; size_t GetMediumLevelILExprIndex(size_t expr) const; + std::set<size_t> GetMediumLevelILExprIndexes(size_t expr) const; void UpdateInstructionOperand(size_t i, size_t operandIndex, ExprId value); void ReplaceExpr(size_t expr, size_t newExpr); |
