iter_memory_pair_chunks was iterating regions in reverse, but not memory _within_ regions in reverse. This commit fixes the issue and simplifies the implementation by removing nested loops which made control flow hard to reason about.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "solana-bpf-loader-program"
|
|
description = "Solana BPF loader"
|
|
documentation = "https://docs.rs/solana-bpf-loader-program"
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
repository = { workspace = true }
|
|
homepage = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
bincode = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
libsecp256k1 = { workspace = true }
|
|
log = { workspace = true }
|
|
scopeguard = { workspace = true }
|
|
solana-measure = { workspace = true }
|
|
solana-program-runtime = { workspace = true }
|
|
solana-sdk = { workspace = true }
|
|
solana-zk-token-sdk = { workspace = true }
|
|
solana_rbpf = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = { workspace = true }
|
|
memoffset = { workspace = true }
|
|
rand = { workspace = true }
|
|
solana-sdk = { workspace = true, features = ["dev-context-only-utils"] }
|
|
test-case = { workspace = true }
|
|
|
|
[lib]
|
|
crate-type = ["lib"]
|
|
name = "solana_bpf_loader_program"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|