From e8cdd50599f33495e23db7649a6dbccd65c08154 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Wed, 6 Nov 2024 08:44:58 -0500 Subject: Fixes Vector35/binaryninja-api#5968: "PowerPC flag names no longer recognized (due to changes in capstone register numbering)": handles new capstone flag numbers, allows assembling `isel` instructions with capstone syntax, disassembles flag registers with capstone syntax --- arch/powerpc/test_disasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/powerpc/test_disasm.cpp') diff --git a/arch/powerpc/test_disasm.cpp b/arch/powerpc/test_disasm.cpp index b893d2ab..5ee7d1dd 100644 --- a/arch/powerpc/test_disasm.cpp +++ b/arch/powerpc/test_disasm.cpp @@ -28,7 +28,7 @@ int disas_instr_word(uint32_t instr_word, char *buf) struct cs_detail *detail = &(res.detail); struct cs_ppc *ppc = &(detail->ppc); - if(powerpc_decompose((const uint8_t *)&instr_word, 4, 0, true, &res)) { + if(powerpc_decompose((const uint8_t *)&instr_word, 4, 0, true, &res, false)) { if(print_errors) printf("ERROR: powerpc_decompose()\n"); goto cleanup; } -- cgit v1.3.1