Skip to content

Commit

Permalink
Impl sleigh aware
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed May 31, 2024
1 parent a6e494c commit 88edc83
Show file tree
Hide file tree
Showing 7 changed files with 239 additions and 77 deletions.
129 changes: 127 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ doctest = false

[workspace]
members = [
"il-tests"
"il-tests",
"sleigh-rs",
]

[dev-dependencies]
Expand All @@ -32,3 +33,6 @@ rand = "0.8.5"
[[bench]]
name = "my_benchmark"
harness = false

[dependencies]
anyhow = "1.0.86"
10 changes: 7 additions & 3 deletions il-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ dashmap = "5.5.3"
hex = "0.4.3"
itertools = "0.13.0"
rayon = "1.10.0"
sleigh-rs = "0.1.5"
sleigh-rs = { path = "../sleigh-rs" }
rizin-rs = { path = ".." }
bitvec = "1.0.1"
anyhow = "1.0.86"
rand = "0.8.5"
async-stream = "0.3.5"
futures-util = "0.3.30"

[dependencies.rizin-rs]
path = ".."

[build-dependencies]
anyhow = "1.0.86"
Expand Down
1 change: 0 additions & 1 deletion il-tests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ fn main() {
let x = generate_disassembler(&p).unwrap();
let f = File::create(out_dir.join("tricore.rs")).unwrap();
let mut w = BufWriter::new(f);
rust
w.write(x.to_string().as_bytes()).unwrap();
}
6 changes: 3 additions & 3 deletions il-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pub mod gen {
include!(concat!(env!("OUT_DIR"), "/tricore.rs"));
}
// pub mod gen {
// include!(concat!(env!("OUT_DIR"), "/tricore.rs"));
// }
Loading

0 comments on commit 88edc83

Please sign in to comment.