Dipesh-Raj-S/Cerberus-eBPF ? reverse-engineered prompt

Reverse engineered prompt

Build me a small C++ project called Cerberus eBPF that can be compiled from the Makefile and has a clean src folder structure.

I want it to be a working starter for an eBPF based tool, with the C++ side able to load and run an eBPF program, handle basic setup and cleanup, and print useful status or debug messages. If you need to look up the current recommended way to build and run eBPF code, feel free to check the latest docs online.

Please make it easy to build and run from the command line, and keep the code simple enough that I can extend it later. If there are any missing pieces, add sensible defaults and comments so it is clear what each part does.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab