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
Copy file name to clipboardExpand all lines: README.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,18 @@
8
8
9
9
Bindings to the [capstone library][upstream] disassembly framework.
10
10
11
-
There's an example in `demo.rs`, but as a sample:
11
+
12
+
# Requirements
13
+
14
+
`capstone-rs` uses the [`capstone-sys`](https://github.com/capstone-rust/capstone-sys) crate to provide the low-level bindings to the Capstone C library.
15
+
16
+
See the [`capstone-sys`](https://github.com/capstone-rust/capstone-sys) GitHub page for the requirements and supported platforms.
17
+
18
+
* Minimum Rust Version: `1.20.0` or later
19
+
20
+
# Example
21
+
22
+
The example from [`demo.rs`](examples/demo.rs):
12
23
13
24
```rust
14
25
externcrate capstone;
@@ -111,21 +122,15 @@ Found 5 instructions
111
122
insn groups:
112
123
```
113
124
114
-
# Reporting Issues
115
-
116
-
Please open a [Github issue](https://github.com/capstone-rust/capstone-rs/issues)
117
-
118
-
# Demo
119
-
120
-
You can run:
125
+
You can the demo by running:
121
126
122
127
cargo run --example=demo
123
128
124
129
To produce a short demonstration. More complex demos welcome!
125
130
126
-
# Minimum Rust Version
131
+
# Reporting Issues
127
132
128
-
`capstone-rs` requires Rust `1.20.0` or later.
133
+
Please open a [Github issue](https://github.com/capstone-rust/capstone-rs/issues)
0 commit comments