capstone icon indicating copy to clipboard operation
capstone copied to clipboard

How to determine whether the CS_GRP_JUMP is a conditional jump or unconditional jump??

Open trcrsired opened this issue 1 year ago • 1 comments

trcrsired avatar Aug 20 '23 05:08 trcrsired

There is no general way to determine this currently. It depends on the arch. If you need to know this for ARM you can check the conditional code via cs_arm->cc. For PPC you can check cs_ppc->bc. Check for similar members for other archs.

Rot127 avatar Aug 20 '23 13:08 Rot127