I cam using the capstone disassembly framework to disassemble intel x86 code. I need to find out which operands are read to or written from (or both). According to the website, this is possible by doing operand.access, which holds CSACREAD | CSAWRITE flags.


However, if we look at the definition on github:


no operand[0].access exists!

What's going on? Does this feature not exist yet? Was it removed?

1 Answer 1


Now available in the Github branch next, Capstone provides a new API named cs_regs_access().

This feature will be aviable in the version 4.0 of Capstone, you should switch to the next branch, that is already stable, to use it .


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.