avast / retdec

RetDec is a retargetable machine-code decompiler based on LLVM.
https://retdec.com/
MIT License
7.98k stars 944 forks source link

Unify names of all architectures, formats, compilers, etc. across RetDec #188

Open PeterMatula opened 6 years ago

PeterMatula commented 6 years ago

Different parts of RetDec framework are using different names, formats, cases, etc., for the same information.

Examples:

x86
x86 (or later and compatible)
i386
PowerPC
ppc
x86-64
x86_64
Error: Unsupported target architecture 'x86-64'. Supported architectures: Intel x86, ARM, ARM+Thumb, MIPS, PIC32, PowerPC.
Architecture             : SPARC

"architecture" : {
  [..]
   "name" : "sparc" 
}

Goals:

Where:

s3rvac commented 5 years ago

Similarly, we should use a single name for 64b ARM (ARM64 vs AArch64).