You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can take advantage of some advanced API of Capstone to check the semantics of instructions.
since instructions are classified in groups, you can do in Python:
check if an instruction is a RETURN instruction with:
if i.group(CS_GRP_RET):
....
check if an instruction is a kind of JUMP instruction with:
if i.group(CS_GRP_JUMP):
....
there are few more type of groups such as CS_GRP_CALL, CS_GRP_IRET, etc.
see __init__.py & x86_const.py for more info.
The text was updated successfully, but these errors were encountered:
you can take advantage of some advanced API of Capstone to check the semantics of instructions.
since instructions are classified in groups, you can do in Python:
if i.group(CS_GRP_RET):
....
if i.group(CS_GRP_JUMP):
....
there are few more type of groups such as CS_GRP_CALL, CS_GRP_IRET, etc.
see
__init__.py
&x86_const.py
for more info.The text was updated successfully, but these errors were encountered: