diff options
| author | Galen Williamson <galen@vector35.com> | 2024-11-06 08:44:58 -0500 |
|---|---|---|
| committer | Galen Williamson <galen@vector35.com> | 2024-11-06 19:24:25 -0500 |
| commit | e8cdd50599f33495e23db7649a6dbccd65c08154 (patch) | |
| tree | 96c4569b5d73a8d7d8b9b97fb12d10bd80c1b15f /arch/powerpc/test_disasm.cpp | |
| parent | f1b87ea3ecd5f2293a788e747598a764e898f2fa (diff) | |
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
Diffstat (limited to 'arch/powerpc/test_disasm.cpp')
| -rw-r--r-- | arch/powerpc/test_disasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
