Skip to content
Snippets Groups Projects
Commit 7df01ca5 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Add ida87 support, armv8 support.

parent 7131346c
No related branches found
No related tags found
No related merge requests found
Pipeline #22733 passed
Subproject commit 7eeabcd87854ddf758e0b89041ae79a2ebf2179c
Subproject commit 58f936dced7f7437a5be64026abb485fa1be2250
......@@ -27,7 +27,7 @@ DecodedInstructionCapstoneARM_t::CapstoneHandle_t::CapstoneHandle_t(FileIR_t* fi
{
static_assert(sizeof(csh)==sizeof(handle), "Capstone handle size is unexpected. Has CS changed?");
const auto mode = CS_MODE_LITTLE_ENDIAN;
const auto mode = static_cast<cs_mode>(CS_MODE_LITTLE_ENDIAN | ( firp->getArchitectureBitWidth() == 32 ? CS_MODE_V8 : 0));
const auto arch =
firp->getArchitectureBitWidth() == 64 ? CS_ARCH_ARM64 :
firp->getArchitectureBitWidth() == 32 ? CS_ARCH_ARM :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment