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

commentator should identify map ops in bcc-c code #38

Closed sdsen closed 1 year ago

sdsen commented 1 year ago

Is your feature request related to a problem? Please describe. bcc ebpf code uses a different syntax than regular libbpf based networking code. The syntax is defined here: https://github.com/iovisor/bcc/blob/master/docs/reference_guide.md#3-perf_submit Ensure that the comment generator can document the helper functions etc. in stub.

Describe the solution you'd like Modify annotator.py and other asset files to account for BCC-C ebpf code.

palanik1 commented 1 year ago

Need to handle the following for BCC code

sdsen commented 1 year ago

also need glue code to load appropriate files, based on flag switch.

sdsen commented 1 year ago

@dushyantbehl created bcc helper function db via: #74 . We need to complete integration.

sdsen commented 1 year ago

Closing as tracked here: https://github.com/eBPFDevSecTools/ebpf-projects-annotations/issues/25