Bumps solana_rbpf to version v0.2.22 (#22923)

* Bumps solana_rbpf to v0.2.22

* Adjusts vm::Config and feature gates.
This commit is contained in:
Alexander Meißner
2022-02-04 21:17:49 +01:00
committed by GitHub
parent 27aaf9df85
commit 96c88d1a5e
10 changed files with 28 additions and 59 deletions

View File

@ -211,10 +211,7 @@ fn run_program(name: &str) -> u64 {
let mut instruction_meter = ThisInstructionMeter { compute_meter };
let config = Config {
enable_instruction_tracing: true,
reject_unresolved_syscalls: true,
reject_section_virtual_address_file_offset_mismatch: true,
verify_mul64_imm_nonzero: false,
verify_shift32_imm: true,
reject_broken_elfs: true,
..Config::default()
};
let mut executable = Executable::<BpfError, ThisInstructionMeter>::from_elf(