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

make error when trying examples #13

Closed qthuang closed 1 year ago

qthuang commented 1 year ago

Having error when make after runnning run1.sh and run2.sh

截屏2022-12-01 16 44 34
OwenZhang001122 commented 1 year ago

For cilium, we can get phase 1 to work, but for phase 3 we can not generate the .c file and it extract a lot of files into the output folder, we are not sure if that is the correct situation....

palanik1 commented 1 year ago

@qthuang Look for an ATTENTION Block in extracted.c.. There are two defs for ctl_array -- one in the .c and one in .h file. For xdpdecap, delete the map definition in extracted.c since we will be using the map definition in .h.

palanik1 commented 1 year ago

@OwenZhang001122 Can you share the output folder and extracted.c file for Cilium?

sdsen commented 1 year ago

@OwenZhang001122 please close if resolved.