First commit

This commit is contained in:
2025-01-14 20:12:13 +01:00
commit fa6681095c
10 changed files with 97173 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
GCC=gcc
CL=clang-11
CFLAGS=-Wall
LIBS=-lbpf
all: dns-trace.ebpf.o dns-trace
dns-trace.ebpf.o: src/dns-trace.ebpf.c
$(CL) -g -O2 -target bpf -c src/dns-trace.ebpf.c -o src/dns-trace.ebpf.o
dns-trace: src/dns-trace.c
$(GCC) $(CFLAGS) src/dns-trace.c -o dns-trace $(LIBS)
clean:
rm -rf src/*.o && rm dns-trace