Bumps solana_rbpf to v0.2.14 (#18869)

* Bumps solana_rbpf to v0.2.14

* Feature gate for verify_mul64_imm_nonzero as discussed in #17520.
This commit is contained in:
Alexander Meißner
2021-08-04 09:50:28 +02:00
committed by GitHub
parent 9912b73f9f
commit 0a63f65c03
11 changed files with 274 additions and 207 deletions

View File

@ -15,5 +15,5 @@ serde_json = "1.0.66"
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.8.0" }
solana-logger = { path = "../logger", version = "=1.8.0" }
solana-sdk = { path = "../sdk", version = "=1.8.0" }
solana_rbpf = "=0.2.13"
solana_rbpf = "=0.2.14"
time = "0.3.0"

View File

@ -206,8 +206,8 @@ native machine code before execting it in the virtual machine.",
.unwrap();
if matches.is_present("verify") {
let (_, elf_bytes) = executable.get_text_bytes().unwrap();
check(elf_bytes).unwrap();
let text_bytes = executable.get_text_bytes().1;
check(text_bytes, &config).unwrap();
}
executable.jit_compile().unwrap();
let analysis = Analysis::from_executable(executable.as_ref());