Skip to content

[Rust API] Expose functions to map between IL levelsΒ #7206

@bdash

Description

@bdash

What is the feature you'd like to have?
The Rust API does not currently expose any way to map from an LLIL instruction to the corresponding MLIL instruction(s) or vice versa. Similarly absent are functions for MLIL <-> HLIL.

This would provide the equivalents of:

MediumLevelILFunction::GetLowLevelILInstructionIndex
MediumLevelILFunction::GetLowLevelILExprIndex
MediumLevelILFunction::GetLowLevelILExprIndexes

MediumLevelILFunction::GetHighLevelILInstructionIndex
MediumLevelILFunction::GetHighLevelILExprIndex
MediumLevelILFunction::GetHighLevelILExprIndexes

for each of the IL levels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Rust APIIssue needs changes to the Rust APIEffort: LowIssue should take < 1 weekImpact: MediumIssue is impactful with a bad, or no, workaround

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions