Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bfengj authored Apr 11, 2024
1 parent 47dbbb4 commit 9d94e6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
go-version: '1.20'

- name: Install1
run: cd /tmp;git clone https://github.com/libbpf/libbpf.git;cd libbpf;cd src;pwd;sudo make;sudo make install;sudo apt install -y linux-tools-$(uname -r);
run: apt install -y make clang llvm libelf-dev libbpf-dev bpfcc-tools libbpfcc-dev
- name: Install2
run: apt install -y linux-tools-$(uname -r) linux-headers-$(uname -r) linux-tools-common
- name: Install3
run: bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h;go mod download;go generate;go build -v -o bin/eBPFeXPLOIT


0 comments on commit 9d94e6e

Please sign in to comment.