Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kfl/ebpf-tools

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBPF Tools

Framework for allowing easy experimentation with eBPF byte-code.

The project can be used both as a library for working with eBPF byte-code, and it comes with a command-line program that can be as an assembler and (eventually) a disassembler.

Build instructions

Build with:

$ cabal build

As a library

The project consists of a number of modules:

Command-line executable

$ cabal exec -- ebpf-tools --help
Usage: ebpf-tools ((-a|--assemble) | (-d|--disassemble) | --dump)
                  [-o|--output OUTFILE] INFILE

  Assembler and disassembler for eBPF bytecode

Available options:
  -a,--assemble            Parse asm file and write bytecode to output
  -d,--disassemble         Parse bytecode file and write assembly to output
  --dump                   Parse asm file and print an AST
  -o,--output OUTFILE      Write output to OUTFILE (writes to stdout if not
                           given)
  -h,--help                Show this help text

eBPF Resources

See

About

Experiments with eBPF bytecode

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.