eBPFDevSecTools / opened

OPENED Tool to extract specific eBPF functions from large monoliths (tested on Katran, Mizar, Cilium..)
Apache License 2.0
12 stars 6 forks source link

cilium helper functions need to be recognized in code_commentor #32

Closed sdsen closed 1 year ago

sdsen commented 1 year ago

Is your feature request related to a problem? Please describe. Cilium uses wrappers for bpf_helper_functions, our current code_commentor doesn't recognize the wrapper helper functions, and hence doesn't document them in the comment stub. Describe the solution you'd like

  1. update the relevant asset files to include the following helpers. https://github.com/cilium/cilium/blob/5a143f9d2181037c4e721767ec6e4ee72dbd662f/bpf/include/linux/bpf.h#L3835

Describe alternatives you've considered None. Additional context NA