-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Basic Blocks #1143
Comments
no. |
Of course there's a way - you disassemble instructions one by one, check groups, and stop when groups match what you want. The issue, Capstone's group support across architectures leaves much to be desired, e.g. #1072 |
@fred26, were you able to implement a solution for this? If not, I may have some code that can help; I've had to do the same thing. |
@r4dr3fr4d can you show some code to get basic blocks with the help of capstone? |
Trying to create basic blocks in x86 x64 mode.
Using modified version of:
https://github.com/aquynh/capstone/blob/master/tests/test_x86.c
Is there away to ask cs_disasm to stop disassembling when an instruction belongs to a jump group (CALL/JNZ/CMOVNE)?
Thanks
The text was updated successfully, but these errors were encountered: