capstone-rs
capstone-rs copied to clipboard
high-level Capstone system bindings for Rust
Fix CI
- [x] Linux - [x] Base tests #107 - [x] Enable valgrind tests and code coverage: #108 - [ ] macOS - [x] FreeBSD: #105 - [x] Windows: #146
Capstone's C types `cs_arm_op` and `cs_x86_op` etc. have a member `uint8_t access`, that provides info about the operand being read or written to by the instruction. In the rust world,...
Adds support for `cs_regs_access`, fixes #63. I'm not sure how to implement the tests yet, the `instructions_*` tests are a bit complicated on first sight.
I ran into a problem with matching instruction id's to their enum counter parts defined in capstone-sys. Because rust does not have a provide a simple/safe way to cast a...
New options for cs_option(): CS_OPT_MNEMONIC & CS_OPT_UNSIGNED
cs_regs_access API: https://www.capstone-engine.org/op_access.html
It would be splendid if `capstone` exposed Cargo features such that you could only compile support in for specific architecture(s)--usually one, but maybe multiple architectures depending on circumstances. I realize...
I found it confusing that `RegAccessType` is used. It sort of implies that it describes how the register is accessed and not the memory. e.g.: ``` 0x1000: addl $1, (%rdi)...
Hello, Thanks for maintaining this project. This PR adds support for BPF in capstone-rs. I regenerated the bindings in capstone-sys using a newer version of bindgen in Cargo.toml since it...