Skip to content

mattnite/bpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpf: a Zig BPF library

This library aims to provide similar functionality as libbpf but leveraging the zig programming language. Probes writen in either library should be able to be loaded by the other.

Roadmap

stdlib work:

  • document all map types
  • document all cmd types
  • document all program and attach types
  • zigify cmds
    • determine all possible errnos
  • zigify bpf helpers (include documentation)
  • get layout for members of structs found in bpf helpers

this lib work:

  • determine how section naming translates into program types and events
  • typify section naming
  • figure out btf and map relocations
  • typify maps
  • @Type(.Struct) object

About

[WIP] Zig BPF library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published