capstone-rust / capstone-rs

high-level Capstone system bindings for Rust
213 stars 75 forks source link

Updated README. #131

Closed IsaSca closed 2 years ago

IsaSca commented 2 years ago

I was having difficulty getting the README example to compile. I had a look and I believe that this was because reg_names and group_names were expecting RegsID and IsnsGroupID respectively.

I had a look and InsnDetail.regs_read(), and InsnDetail.regs_write() were returning RegsIter. While InsnDetail.groups() was returning InsnGroupIter. So, I have updated the README to reflect this. If this is incorrect understanding of operation, please let me know. Thank you

tmfink commented 2 years ago

Thanks for the PR! In order to avoid the README getting out of sync, I think I'll just have the README refer to an example program instead.