uxmal / reko

Reko is a binary decompiler.

Home Page:https://uxmal.github.io/reko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not open csky elf

bambooeric opened this issue · comments

When open C-Sky ELF file, get error "Opening file ELF machine type EM RCE is not implemented yet"

Could you please provide the affected ELF file?

I think I've fixed the immediate problem without a binary. It turns out that C-Sky incorrectly used the ELF machine type EM_RCE for a while before using the correct EM_CSKY constant. I've changed Reko to detect this, and redirect binaries with EM_RCE to EM_CSKY.