Feature gates for rbpf v0.2.16 (#21590)
- Adds feature reject_section_virtual_address_file_offset_mismatch. - Adds feature start_verify_shift32_imm. - Enables enable_symbol_and_section_labels only in the rbpf-cli.
This commit is contained in:
committed by
Trent Nelson
parent
f04e06e0c2
commit
6777ca244f
@@ -213,6 +213,10 @@ fn run_program(
|
||||
|
||||
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,
|
||||
..Config::default()
|
||||
};
|
||||
let mut executable = Executable::<BpfError, ThisInstructionMeter>::from_elf(
|
||||
|
Reference in New Issue
Block a user