Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
trcrsired opened this issue Aug 20, 2023 · 1 comment

Comments

@trcrsired
Copy link

No description provided.

@trcrsired trcrsired changed the title How to determine whether the CS_GRP_JUMP is an conditional jump or unconditional jump?? How to determine whether the CS_GRP_JUMP is a conditional jump or unconditional jump?? Aug 20, 2023
@Rot127
Copy link
Collaborator

Rot127 commented Aug 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants