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:
Alexander Meißner
2021-12-13 21:12:07 +01:00
committed by Michael Vines
parent 558a52d5cb
commit 2d93db9dec
5 changed files with 27 additions and 5 deletions

View File

@@ -147,6 +147,7 @@ native machine code before execting it in the virtual machine.",
let config = Config {
enable_instruction_tracing: matches.is_present("trace") || matches.is_present("profile"),
enable_symbol_and_section_labels: true,
..Config::default()
};
let mut accounts = Vec::new();