Skip to content

Commit

Permalink
instr harness
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Jan 10, 2025
1 parent 963df8d commit fc30727
Show file tree
Hide file tree
Showing 12 changed files with 920 additions and 14 deletions.
168 changes: 154 additions & 14 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ members = [
"svm-conformance",
"svm-fuzz-harness/fixture",
"svm-fuzz-harness/fixture-fs",
"svm-fuzz-harness/instr/entrypoint",
"svm-fuzz-harness/instr/harness",
"svm-rent-collector",
"svm-transaction",
"test-validator",
Expand Down Expand Up @@ -597,6 +599,8 @@ solana-streamer = { path = "streamer", version = "=2.2.0" }
solana-svm = { path = "svm", version = "=2.2.0" }
solana-svm-fuzz-harness-fixture = { path = "svm-fuzz-harness/fixture", version = "=2.2.0" }
solana-svm-fuzz-harness-fixture-fs = { path = "svm-fuzz-harness/fixture-fs", version = "=2.2.0" }
solana-svm-fuzz-harness-instr = { path = "svm-fuzz-harness/instr/harness", version = "=2.2.0" }
solana-svm-fuzz-harness-instr-entrypoint = { path = "svm-fuzz-harness/instr/entrypoint", version = "=2.2.0" }
solana-svm-conformance = { path = "svm-conformance", version = "=2.2.0" }
solana-svm-rent-collector = { path = "svm-rent-collector", version = "=2.2.0" }
solana-svm-transaction = { path = "svm-transaction", version = "=2.2.0" }
Expand Down
1 change: 1 addition & 0 deletions svm-fuzz-harness/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dump
10 changes: 10 additions & 0 deletions svm-fuzz-harness/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

CARGO?=cargo

test: | binaries tests/run_test_vectors

binaries:
$(CARGO) build --manifest-path instr/harness/Cargo.toml --bins --release

tests/run_test_vectors:
scripts/run_test_vectors.sh
26 changes: 26 additions & 0 deletions svm-fuzz-harness/instr/entrypoint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "solana-svm-fuzz-harness-instr-entrypoint"
description = "Solana SVM fuzz harness instruction entrypoint."
documentation = "https://docs.rs/solana-svm-fuzz-harness-instr-entrypoint"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[dependencies]
solana-account = { workspace = true }
solana-compute-budget = { workspace = true }
solana-feature-set = { workspace = true }
solana-hash = { workspace = true }
solana-instruction = { workspace = true }
solana-precompiles = { workspace = true }
solana-program-runtime = { workspace = true }
solana-pubkey = { workspace = true }
solana-rent = { workspace = true }
solana-timings = { workspace = true }
solana-transaction-context = { workspace = true }

[lints]
workspace = true
Loading

0 comments on commit fc30727

Please sign in to comment.