From a706ec7afe39fff69ff10c36a75e2a2a0b6d9be0 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Sun, 18 Jun 2023 12:26:15 -0500 Subject: [PATCH] Handle VRegOperands --- arch/AArch64/AArch64Mapping.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/AArch64/AArch64Mapping.c b/arch/AArch64/AArch64Mapping.c index c5c641d4a1..8af2e0241a 100644 --- a/arch/AArch64/AArch64Mapping.c +++ b/arch/AArch64/AArch64Mapping.c @@ -724,10 +724,12 @@ static void add_cs_detail_general(MCInst *MI, aarch64_op_group op_group, } break; } - case AArch64_OP_GROUP_VRegOperand: - printf("Operand group %d not implemented\n", op_group); + case AArch64_OP_GROUP_VRegOperand: { + unsigned Reg = MCInst_getOpVal(MI, OpNum); + AArch64_set_detail_op_reg(MI, OpNum, Reg); break; } + } } /// Fills cs_detail with the data of the operand.