google / buzzer

Apache License 2.0
423 stars 30 forks source link

Add a new loader tool that takes as input serialized ebpf protobuf programs [Fix PoC Generation 1/3] #51

Closed thatjiaozi closed 4 months ago

thatjiaozi commented 4 months ago

This is the initial commit of a new loader tool that allows users to load ebpf programs generated by buzzer into the kernel.

This is meant for testing purposes whenever a suspicious program has been found. We decided to dump a serialized protobuf into disk in buzzer whenever a fuzzing strategy behaved in an unexpected way. The protobuf is serialized to json so users can see what the program looks like and modify it.

For now the tool just parses the json back to pb format. Next PR will implement the actual loading of the program into the kernel.