Open david942j opened 3 months ago
I am fine with the behavior on the next branch if the output there is expected. In this case this bug only happens on the v5 branch.
On the next
branch it shows the enumeration value.
In this case it is AARCH64_PRFM_PLDL1KEEP = 0x0
.
See aarch64_prfm
what the others are.
v5
is broken, yes.
I found this issue when implementing Crabstone Ruby binding on Capstone 5. The existing unit tests failed with Capstone 5.
I am currently rebuild testing. If you want to add support for newer versions, add support only for future v6
(the current next
branch, release set to September). It is way way more up to data and modernized. If you continue, consider rebasing on https://github.com/capstone-engine/capstone/pull/2384. You can consume the yaml
files with test cases there. Way way more easier.
I found this issue when implementing Crabstone Ruby binding on Capstone 5. The existing unit tests failed with Capstone 5.
Work environment
git clone
Instruction bytes giving faulty results
Expected results
It should be:
Have two operands, one is PREFETCH and one is MEM.
Steps to get the wrong result
With
cstool
:On the v5 branch, only one operand is reported:
On the next branch, it reports two operands but the first one doesn't look right, at least it seems reporting mnemonic instead of the operand.
On both Capstone v3 and v4 the output match what I expect:
On v3:
On v4: