capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.51k stars 1.54k forks source link

[v5] Fix incorrect ID mappings for PPC #2333

Closed Rot127 closed 5 months ago

Rot127 commented 5 months ago

Your checklist for this pull request

Detailed description

Partially addresses https://github.com/capstone-engine/capstone/issues/2087. I t only addresses the miss-mapping of instruction IDs.

The first point of https://github.com/capstone-engine/capstone/issues/2087 (not setting crx.reg is not worth fixing IMHO). Because it was never set and adding support for it is basically implementing a new feature. But with v6 (and the current next) everything is different and better anyways.

Test plan

...

Closing issues

closes https://github.com/capstone-engine/capstone/issues/2087