Skip to content

Conversation

@bdash
Copy link
Contributor

@bdash bdash commented May 11, 2025

MediumLevelILInstruction does not yet handle MLIL_CALL_OUTPUT, MLIL_CALL_PARAM, MLIL_CALL_PARAM_SSA, MLIL_CALL_OUTPUT_SSA, MLIL_MEMORY_INTRINSIC_OUTPUT_SSA, or MLIL_MEMORY_INTRINSIC_SSA

Map these to a NotYetImplemented kind rather than panicking since a panic takes down the entire app.

…nstruction

`MediumLevelILInstruction` does not yet handle `MLIL_CALL_OUTPUT`,
`MLIL_CALL_PARAM`, `MLIL_CALL_PARAM_SSA`, `MLIL_CALL_OUTPUT_SSA`,
`MLIL_MEMORY_INTRINSIC_OUTPUT_SSA`, or `MLIL_MEMORY_INTRINSIC_SSA`. Map
these to a `NotYetImplemented` kind rather than panicking since a panic
takes down the entire app.
@emesare
Copy link
Member

emesare commented May 11, 2025

Seems reasonable, I will cherry pick this on the cleanup branch and also add the mentioned instructions as handled. Thanks!

EDIT: Seems that the expr creation will pull the output and param, still need to add memory intrinsic however.

@emesare
Copy link
Member

emesare commented May 13, 2025

Cherry picked with 0f0321b thank you!

@emesare emesare closed this May 13, 2025
@emesare emesare added this to the Helion milestone May 13, 2025
@emesare emesare added the Component: Rust API Issue needs changes to the Rust API label May 13, 2025
@bdash bdash deleted the rust-mlil-notyetimplemented branch May 14, 2025 18:43
@emesare emesare self-assigned this May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Rust API Issue needs changes to the Rust API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants