Fix eh frame relocation (#2109)

* Exclude .eh_frame
This commit is contained in:
jackcmay
2018-12-11 12:14:41 -08:00
committed by GitHub
parent 5847961fec
commit 935524f20c
4 changed files with 7 additions and 8 deletions

View File

@ -299,12 +299,7 @@ fn test_program_builtin_bpf_noop() {
fn test_program_bpf_c() {
logger::setup();
let programs = [
"noop",
"struct_pass",
"struct_ret",
//"noop++" // TODO fails with buffer overflow
];
let programs = ["noop", "struct_pass", "struct_ret", "noop++"];
for program in programs.iter() {
println!("Test program: {:?}", program);
let mut file = File::open(create_bpf_path(program)).expect("file open failed");