Skip to content

hBPF/hBPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hBPF: An Embedded Haskell DSL for BPF Assembly

hBPF is a declarative DSL that is embedded in Haskell for forming and compiling BPF assembly. Users write their filters in a high-level, typed functional syntax that then gets compiled under the hood into BPF assembly code.

The assembly code generated can then be passed into a BPF assembler, an example is bpf_asm as provided under the tools/net directory in the Linux kernel.

This repository serves as the source code for the final project for Stanford's CS 240H taught by David Mazières and Bryan O'Sullivan in the Winter of 2016.

Work of Andrew Duffy (agd@cs.stanford.edu) and Matt Denton (mdenton@cs.stanford.edu)

About

Simple DSL that comiles to BPF assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors