1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Names of disassembler architectures not corresponding to their actual type

Fixes #1010
This commit is contained in:
WerWolv 2023-04-05 07:20:06 +02:00
parent e3b1ebb826
commit 4cf92103d8

View File

@ -42,7 +42,7 @@ namespace hex {
return cs_support(toCapstoneArchitecture(architecture)); return cs_support(toCapstoneArchitecture(architecture));
} }
constexpr static const char *const ArchitectureNames[] = { "ARM32", "ARM64", "MIPS", "x86", "PowerPC", "Sparc", "SystemZ", "XCore", "68K", "TMS320C64x", "680X", "Ethereum", "MOS65XX", "WebAssembly", "Berkeley Packet Filter", "RISC-V" }; constexpr static const char *const ArchitectureNames[] = { "ARM32", "ARM64", "MIPS", "x86", "PowerPC", "Sparc", "SystemZ", "XCore", "68K", "TMS320C64x", "680X", "Ethereum", "WebAssembly", "RISC-V", "MOS65XX", "Berkeley Packet Filter" };
static inline i32 getArchitectureSupportedCount() { static inline i32 getArchitectureSupportedCount() {
static i32 supportedCount = -1; static i32 supportedCount = -1;