Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Implement IL Source Location and Comparison Methods #6352

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

ltlly
Copy link

@ltlly ltlly commented Jan 23, 2025

Add Class: ILSourceLocation
lowlevelil: Add loc parameter to expr, if_expr, goto, and copy_expr
lowlevelil: Fix bug in copy_expr caused by flags
mediumlevelil: Add loc parameter to expr, if_expr, goto, and copy_expr
mediumlevelil: Add methods cmp_e, cmp_ne, cmp_slt, cmp_sle, cmp_sge, cmp_sgt, cmp_ult, cmp_ule, cmp_uge, cmp_ugt

Example:

mlil.if_expr(new_condition, trueLabel, falseLabel,ILSourceLocation.from_instruction(instr))

lowlevelil: Add loc parameter to expr, if_expr, goto, and copy_expr
lowlevelil: Fix bug in copy_expr caused by flags
mediumlevelil: Add loc parameter to expr, if_expr, goto, and copy_expr
mediumlevelil: Add methods cmp_e, cmp_ne, cmp_slt, cmp_sle, cmp_sge, cmp_sgt, cmp_ult, cmp_ule, cmp_uge,  cmp_ugt
@CLAassistant
Copy link

CLAassistant commented Jan 23, 2025

CLA assistant check
All committers have signed the CLA.

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.

2 participants