21 lines
365 B
C
21 lines
365 B
C
/* 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,
|
|
};
|