AltraMayor / AltraMayor/gatekeeper

Having a command to test BPF programs

Open
#586 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1.6k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

Having a command to test BPF programs would ease the development of new BPF programs for Gatekeeper since this command can
1. Verify that both functions (i.e. "init" and "pkt") are present;
2. Check that all symbols can be resolved; and
3. Make sure that both functions pass the BPF verifier.

The code of this command may be able to reuse some of the code in file `gk/bpf.c`.

The name suggestion for this command is "gkbpftest".

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.