Skip to content

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

Open
bdash wants to merge 1 commit intodevfrom
test_rust_mlil_operands
Open

[Rust] Fix off-by-one accesses to operand lists within MediumLevelILInstruction::lift#8156
bdash wants to merge 1 commit intodevfrom
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.

…nstruction::lift

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

Fixes #8155
@plafosse
Copy link
Copy Markdown
Member

plafosse commented May 7, 2026

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

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