-
Notifications
You must be signed in to change notification settings - Fork 43
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
Unsupported value type with mcsema bitcode #220
Comments
Executable + bitcode: |
Hrmm, this is a result of GlobalAliases. @frabert to handle these we'd probably need to lift the aliasee instead of the alias itself. We could probably lift to local variables accordingly initialized to retain the alias name. Then they wouldn't turn into global variables. |
Is Rellic designed to generate readable C code from mcsema output? At first I thought t would but mcsema bitcode doesn't seem to work like normal bitcode as it uses the State thing |
@Heath123 Rellic is designed more for anvill-produced bitcode or Clang-produced bitcode. McSerma-produced bitcode makes heavy use of global aliases for human readability of the bitcode, but those aliases can be disabled with |
Trying to decompile the code for
xz
from the walkthrough:Happens at
https://github.com/lifting-bits/rellic/blob/master/lib/AST/IRToASTVisitor.cpp#L379
The text was updated successfully, but these errors were encountered: