Skip to content

[Rust] Fix off-by-one accesses to operand lists within MediumLevelILInstruction::lift#8156

Merged
bdash merged 1 commit into
devfrom
test_rust_mlil_operands
May 12, 2026
Merged

[Rust] Fix off-by-one accesses to operand lists within MediumLevelILInstruction::lift#8156
bdash merged 1 commit into
devfrom
test_rust_mlil_operands

Conversation

@bdash
Copy link
Copy Markdown
Contributor

@bdash bdash commented May 7, 2026

This could result in a crash or incorrect data being read.

Fixes #8155.


The crash report in #8155 was due to the MemPhi case. I found the MemoryIntrinsicSsa case while reviewing the other instructions that have operand lists.

@plafosse
Copy link
Copy Markdown
Member

plafosse commented May 7, 2026

This is apoved. The fix aligns with the python and C++ usage.

…nstruction::lift

This could result in a crash or incorrect data being read.

Fixes #8155
@bdash bdash force-pushed the test_rust_mlil_operands branch from 2e6f7c3 to 82f6cd8 Compare May 12, 2026 01:32
@bdash bdash merged commit 82f6cd8 into dev May 12, 2026
9 of 10 checks passed
@bdash bdash deleted the test_rust_mlil_operands branch May 12, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Rust] Crash below MediumLevelILInstruction::lift

2 participants