aquasecurity / libbpfgo

eBPF library for Go. Powered by libbpf.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move embedded C code to a header file

geyslan opened this issue · comments

Since embedded C code is placed as a comment in Go files, we could move into a C header file, enabling the use of tools for automatic formatting and checking following the Tracee way.

This is related to main changes on building - #177.

However, for this, the goals are only:

  • move the C code to a header to be included in the embedded part.
  • format the new header file using clang-format.