Skip to content

Conversation

@bdash
Copy link
Contributor

@bdash bdash commented May 27, 2025

This adds:

impl<M: FunctionMutability> Ref<LowLevelILFunction<M, SSA>> {
    pub fn get_ssa_register_uses<R: ArchReg>(
        &self,
        reg: LowLevelILSSARegisterKind<R>,
    ) -> Vec<LowLevelILInstruction<M, SSA>> {}

   pub fn get_ssa_register_definition<R: ArchReg>(
        &self,
        reg: &LowLevelILSSARegisterKind<R>,
    ) -> Option<LowLevelILInstruction<M, SSA>> {}
}

I'm not clear whether this handling of partial registers is correct. There's not a lot of information on their semantics and I couldn't immediately find how Python or C++ handle them.

@emesare emesare self-assigned this May 27, 2025
@emesare
Copy link
Member

emesare commented May 31, 2025

Cherry picked on dev with abc355d. Thank you!

@emesare emesare closed this May 31, 2025
@emesare emesare added the Component: Rust API Issue needs changes to the Rust API label May 31, 2025
@emesare emesare added this to the Helion milestone May 31, 2025
@bdash bdash deleted the rust-llil-ssa-use-def branch June 5, 2025 22:21
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