Revert "Bump solana_rbpf to version v0.2.14 (#18869)"

This reverts commit 9d66458a40.
This commit is contained in:
Trent Nelson
2021-12-13 08:48:38 -07:00
committed by Tao Zhu
parent 4a186c5834
commit cc75f576e2
10 changed files with 212 additions and 273 deletions

View File

@@ -1991,10 +1991,9 @@ fn read_and_verify_elf(program_location: &str) -> Result<Vec<u8>, Box<dyn std::e
// Verify the program
<dyn Executable<BpfError, ThisInstructionMeter>>::from_elf(
&program_data,
Some(verifier::check),
Some(|x| verifier::check(x)),
Config {
reject_unresolved_syscalls: true,
verify_mul64_imm_nonzero: true, // TODO: Remove me after feature gate
..Config::default()
},
register_syscalls(&mut invoke_context).unwrap(),