From eb2bc243a55e1a971b43d5c45a4b888f00dc7479 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Thu, 11 Jul 2019 22:21:46 -0400 Subject: [PATCH] updated to handle arm32 --- irdb-libs/rida/rida.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/irdb-libs/rida/rida.cpp b/irdb-libs/rida/rida.cpp index 216c26487..ed5064372 100644 --- a/irdb-libs/rida/rida.cpp +++ b/irdb-libs/rida/rida.cpp @@ -80,8 +80,9 @@ class CreateFunctions_t throw std::runtime_error("Cannot handle ELF class"); const auto my_cs_arch = - machine_type == mtX86_64 ? CS_ARCH_X86 : - machine_type == mtI386 ? CS_ARCH_X86 : + machine_type == mtX86_64 ? CS_ARCH_X86 : + machine_type == mtI386 ? CS_ARCH_X86 : + machine_type == mtArm32 ? CS_ARCH_ARM : machine_type == mtAarch64 ? CS_ARCH_ARM64 : throw std::runtime_error("Cannot handle architecture"); -- GitLab