# Add classic BPF library · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b7c7fba5b4f3cf80b36b75bacd401e12a25cf6f8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b7c7fba5b4f3cf80b36b75bacd401e12a25cf6f8

Requested commit: b7c7fba5b4f3cf80b36b75bacd401e12a25cf6f8

Commit: b7c7fba5b4f3cf80b36b75bacd401e12a25cf6f8

Tree: 6b5393aa669046e8616bd4e1481989eb6ac839cd

Author: Stephen Gregoratto

Committer: Stephen Gregoratto

## Message

```
Add classic BPF library

This library contains:
- The global constants as used by C code.
- An Insn struct that implements can generate all the BPF instructions.
- A simple BPF virtual machine implementation that can be used for
  testing programs. This has complete code-coverage and has been
  extensively fuzzed.

```

## Parents

- [63ee6e662582ee75ac804eb1a4dbdf4457b8f2d0](https://git.cafe/gitcafe/zig/commit/63ee6e662582ee75ac804eb1a4dbdf4457b8f2d0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b7c7fba5b4f3cf80b36b75bacd401e12a25cf6f8?format=markdown)
