Skip to content

Commit

Permalink
Merge pull request #11 from icicle-emu/rattle-bug-repros
Browse files Browse the repository at this point in the history
Add a few tests to reproduce emulator bugs
  • Loading branch information
mrexodia authored Dec 24, 2024
2 parents 30b3c7c + 2e4dea3 commit 829517f
Show file tree
Hide file tree
Showing 8 changed files with 1,467 additions and 187 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
GHIDRA_SRC = { value = "python/icicle", relative = true }
28 changes: 18 additions & 10 deletions Cargo.lock

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

18 changes: 14 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["tests"]
exclude = ["icicle-emu"]

[package]
name = "icicle-python"
Expand All @@ -7,18 +9,26 @@ edition = "2021"

[lib]
name = "icicle"
crate-type = ["cdylib"]
crate-type = ["cdylib", "lib"]

[workspace.dependencies]
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }

[dependencies]
pyo3 = { workspace = true }
icicle-cpu = { path = "icicle-emu/icicle-cpu" }
icicle-vm = { path = "icicle-emu/icicle-vm" }
pcode = { path = "icicle-emu/sleigh/pcode" }
sleigh-runtime = { path = "icicle-emu/sleigh/sleigh-runtime" }
indexmap = "2.2.6"
pyo3 = { version = "0.23.2", features = ["extension-module", "indexmap", "abi3-py37"] }
target-lexicon = "0.12.7"
tracing = "*"
tracing-subscriber = "0.3.17"

[build-dependencies]
pyo3-build-config = "0.23.2"
pyo3-build-config = "0.23.3"

# Reference: https://github.com/PyO3/pyo3/issues/340
[features]
extension-module = ["pyo3/extension-module"]
default = ["extension-module"]
173 changes: 0 additions & 173 deletions src/main.rs

This file was deleted.

2 changes: 2 additions & 0 deletions tests/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
GHIDRA_SRC = { value = "../python/icicle", relative = true }
Loading

0 comments on commit 829517f

Please sign in to comment.