diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-30 16:39:32 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-05-30 19:17:10 -0400 |
| commit | 68b00cdf45551ba64c4f7217963055fc5a1a0cc4 (patch) | |
| tree | f6bdef06bc02d16596bdf62870c8a1cfafe49859 /rust/src/medium_level_il/block.rs | |
| parent | 77ab5e812af200b8e3bca0aac31d5fe0f638fba3 (diff) | |
[Rust] Express expression vs instruction index for MLIL and HLIL APIs
This was done to fix unintended behavior using an instruction or expression index in place of the other.
Fixes https://github.com/Vector35/binaryninja-api/issues/6897
Diffstat (limited to 'rust/src/medium_level_il/block.rs')
| -rw-r--r-- | rust/src/medium_level_il/block.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rust/src/medium_level_il/block.rs b/rust/src/medium_level_il/block.rs index 1fcd51ca..162b19b0 100644 --- a/rust/src/medium_level_il/block.rs +++ b/rust/src/medium_level_il/block.rs @@ -14,8 +14,6 @@ impl BlockContext for MediumLevelILBlock { type Iter = MediumLevelILBlockIter; fn start(&self, block: &BasicBlock<Self>) -> MediumLevelILInstruction { - // TODO: instruction_from_index says that it is not mapped and will do the call - // TODO: What if this IS already MAPPED!?!?!? self.function .instruction_from_index(block.start_index()) .unwrap() |
