Skip to content

Add more ConditionVisitor cases (and fix minor bug) #2

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zackorndorff
Copy link

Thanks for posting this code Josh!

I threw a couple random binaries I had laying around at it, and tweaked it until they would decompile.

  • I've added the remainder of the MLIL_CMP_* operations to the ConditionVisitor
  • Looks like a [0] got lost in a refactor, so it was failing on a type error in some cases, I think I've fixed it. No promises it didn't break elsewhere, but works on my machine!

Your stream has been interesting the few times I've been able to watch, hopefully I'll have more time to watch in the future.

Added are MLIL_CMP_SLT, MLIL_CMP_UGE, MLIL_CMP_ULT
Tuple was being used as basic block, led to no .start attribute error.
Fixed by looking at index 0 instead, which seems to be the index that
holds the bb.
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.

1 participant