capstone
capstone copied to clipboard
[PPC] `bne` misses target address
The PPC instruction bne misses the target (relative) address in the asm text and and as operand.
The ISA manual (v3.1B) syntax is bne crX, target
Capstone gives:
./cstool -d ppc64 00009640 0x1a4
1a4 00 00 96 40 bne cr5
ID: 128 (bne)
op_count: 1
operands[0].type: REG = cr5
# Immediate missing
Branch code: 68
Groups: jump
Branch used: next