Open philpem opened 5 years ago
Hi. Thank you for your interest in RetDec. To get a sense of what needs to be done to add support for a new architecture, you can take a look at #9 (Adding support for x86-64).
@PeterMatula I think it would be useful to write a list of all the required actions to add support for a new architecture to our wiki as this might be useful for many people in the future. What do you think?
I've forked Retdec and started adding M68K support on a branch: https://github.com/philpem/retdec/tree/add-m68k-support
It looks like the next step would be to write some code to convert 68K binaries into LLVM IR using Capstone.
I will put together some wiki page on this topic. In the meantime, you can take a look at these two repositories that are adding support for ARM64:
master
branch, you will see what needed to be changed in order to add a new architecture.The promised wiki page: https://github.com/avast-tl/retdec/wiki/How-to-add-support-for-a-new-architecture
The REcon 2018 slide deck suggests that some of the underlying tools behind Retdec support the Motorola M68k (aka 68000, CPU32) architecture.
What would be required to add support for M68K to Retdec?