You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 --disable_aliases.
Activity
Heath123 commentedon Feb 6, 2022
Executable + bitcode:
files.zip
pgoodman commentedon Feb 7, 2022
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.
Heath123 commentedon Feb 7, 2022
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
pgoodman commentedon Feb 7, 2022
@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
--disable_aliases.