AltraMayor / AltraMayor/gatekeeper

Having a command to test BPF programs

Offen
#586 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C
Sterne
1.6k
Forks
252
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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".

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.