Skip to content

Commit 829517f

Browse files
authored
Merge pull request #11 from icicle-emu/rattle-bug-repros
Add a few tests to reproduce emulator bugs
2 parents 30b3c7c + 2e4dea3 commit 829517f

File tree

8 files changed

+1467
-187
lines changed

8 files changed

+1467
-187
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[env]
2+
GHIDRA_SRC = { value = "python/icicle", relative = true }

Cargo.lock

Lines changed: 18 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1+
[workspace]
2+
members = ["tests"]
3+
exclude = ["icicle-emu"]
24

35
[package]
46
name = "icicle-python"
@@ -7,18 +9,26 @@ edition = "2021"
79

810
[lib]
911
name = "icicle"
10-
crate-type = ["cdylib"]
12+
crate-type = ["cdylib", "lib"]
13+
14+
[workspace.dependencies]
15+
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }
1116

1217
[dependencies]
18+
pyo3 = { workspace = true }
1319
icicle-cpu = { path = "icicle-emu/icicle-cpu" }
1420
icicle-vm = { path = "icicle-emu/icicle-vm" }
1521
pcode = { path = "icicle-emu/sleigh/pcode" }
1622
sleigh-runtime = { path = "icicle-emu/sleigh/sleigh-runtime" }
1723
indexmap = "2.2.6"
18-
pyo3 = { version = "0.23.2", features = ["extension-module", "indexmap", "abi3-py37"] }
1924
target-lexicon = "0.12.7"
2025
tracing = "*"
2126
tracing-subscriber = "0.3.17"
2227

2328
[build-dependencies]
24-
pyo3-build-config = "0.23.2"
29+
pyo3-build-config = "0.23.3"
30+
31+
# Reference: https://github.com/PyO3/pyo3/issues/340
32+
[features]
33+
extension-module = ["pyo3/extension-module"]
34+
default = ["extension-module"]

src/main.rs

Lines changed: 0 additions & 173 deletions
This file was deleted.

tests/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[env]
2+
GHIDRA_SRC = { value = "../python/icicle", relative = true }

0 commit comments

Comments
 (0)