whatcanGOwrong
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/* This file excercises the ELF loader. It is not a valid BPF program.
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
|
||||
char __license[] __section("license") = "MIT";
|
||||
|
||||
struct {
|
||||
struct bpf_map_def def;
|
||||
uint32_t dummy;
|
||||
} invalid_map __section("maps") = {
|
||||
.def =
|
||||
{
|
||||
.type = BPF_MAP_TYPE_HASH,
|
||||
.key_size = 4,
|
||||
.value_size = 2,
|
||||
.max_entries = 1,
|
||||
},
|
||||
.dummy = 1,
|
||||
};
|
||||
Reference in New Issue
Block a user