forked from sdsen/ebpf-projects-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_annotator.sh
More file actions
executable file
·41 lines (28 loc) · 4.37 KB
/
run_annotator.sh
File metadata and controls
executable file
·41 lines (28 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#katran
python3 src/annotator.py -o op/katran/txl_katran -s projects/katran/original_source/ -c projects/katran/commented_katran -t op/katran/katran.function_file_list.json -u op/katran/katran.struct_file_list.json -p katran -d projects/katran/boston_katran_comments.json
#cilium
python3 src/annotator.py -o op/cilium/txl_cilium -s projects/cilium/original_source/ -c op/cilium/commented_cilium -t op/cilium/cilium.function_file_list.json -u op/cilium/cilium.struct_file_list.json -p cilium -d projects/cilium/boston_cilium_comments.json
#bcc
python3 src/annotator.py -o op/bcc/txl_bcc -s projects/bcc/original_source/ -c op/bcc/commented_bcc -t op/bcc/bcc.function_file_list.json -u op/bcc/bcc.struct_file_list.json -p bcc
#mptm
python3 src/annotator.py -o op/xdp-mptm-main/txl_xdp-mptm-main -s projects/mptm/original_source/src/kernel -c op/xdp-mptm-main/commented_xdp-mptm-main -t op/xdp-mptm-main/xdp-mptm-main.function_file_list.json -u op/xdp-mptm-main/xdp-mptm-main.struct_file_list.json -p xdp-mptm-main
#ratelimiter
python3 src/annotator.py -o op/ebpf-ratelimiter-main/txl_ebpf-ratelimiter-main -s projects/rate-limiter/original_source/ -c op/ebpf-ratelimiter-main/commented_ebpf-ratelimiter-main -t op/ebpf-ratelimiter-main/ebpf-ratelimiter-main.function_file_list.json -u op/ebpf-ratelimiter-main/ebpf-ratelimiter-main.struct_file_list.json -p ebpf-ratelimiter-main
#bpf-filter
python3 src/annotator.py -o op/bpf-filter-master/txl_bpf-filter-master -s projects/bpf-filter/original_source/ebpf/ -c op/bpf-filter-master/commented_bpf-filter-master -t op/bpf-filter-master/bpf-filter-master.function_file_list.json -u op/bpf-filter-master/bpf-filter-master.struct_file_list.json -p bpf-filter-master
#netobserv
python3 src/annotator.py -o projects/netobserv-bpf-main/intermediate/txl_netobserv-bpf-main -s projects/netobserv-bpf-main/original_source -c projects/netobserv-bpf-main/human_annotated/ -t projects/netobserv-bpf-main/intermediate/netobserv-bpf-main.function_file_list.json -u projects/netobserv-bpf-main/intermediate/netobserv-bpf-main.struct_file_list.json -p netobserv-bpf-main
#suricata
python3 src/annotator.py -o projects/suricata-master/intermediate/txl_suricata-master -s projects/suricata-master/original_source -c projects/suricata-master/human_annotated/ -t projects/suricata-master/intermediate/suricata-master.function_file_list.json -u projects/suricata-master/intermediate/suricata-master.struct_file_list.json -p suricata-master
#loxilb
python3 src/annotator.py -o projects/loxilb-ebpf/intermediate/txl_loxilb-ebpf -s projects/loxilb-ebpf/original_source -c projects/loxilb-ebpf/human_annotated/ -t projects/loxilb-ebpf/intermediate/loxilb-ebpf.function_file_list.json -u projects/loxilb-ebpf/intermediate/loxilb-ebpf.struct_file_list.json -p loxilb-ebpf
#ingress-node-firewall
python3 src/annotator.py -o projects/ingress-node-firewall-master/intermediate/txl_ingress-node-firewall-master -s projects/ingress-node-firewall-master/original_source -c projects/ingress-node-firewall-master/human_annotated -t projects/ingress-node-firewall-master/intermediate/ingress-node-firewall-master.function_file_list.json -u projects/ingress-node-firewall-master/intermediate/ingress-node-firewall-master.struct_file_list.json -p ingress-node-firewall-master
#kpng-master
python3 src/annotator.py -o op/kpng-master/txl_kpng-master -s examples/kpng-master/backends/ebpf/bpf -c op/kpng-master/commented_kpng-master -t op/kpng-master/kpng-master.function_file_list.json -u op/kpng-master/kpng-master.struct_file_list.json -p kpng-master
#vpf-ebpf
python3 src/annotator.py -o op/vpf-ebpf-src/txl_vpf-ebpf-src -s examples/vpf-ebpf-src -c op/vpf-ebpf-src/commented_vpf-ebpf-src -t op/vpf-ebpf-src/vpf-ebpf-src.function_file_list.json -u op/vpf-ebpf-src/vpf-ebpf-src.struct_file_list.json -p vpf-ebpf-src
#ebpf-samples
python3 src/annotator.py -o projects/ebpf-samples/intermediate/txl_ebpf-samples -s projects/ebpf-samples/original_source -c projects/ebpf-samples/human_annotated -t projects/ebpf-samples/intermediate/ebpf-samples.function_file_list.json -u projects/ebpf-samples/intermediate/ebpf-samples.struct_file_list.json -p ebpf-samples
#tpc-ebpf
python3 src/annotator.py -o projects/tpc-ebpf/intermediate/txl_tpc-ebpf -s projects/tpc-ebpf/original_source -c projects/tpc-ebpf/human_annotated/ -t projects/tpc-ebpf/intermediate/tpc-ebpf.function_file_list.json -u projects/tpc-ebpf/intermediate/tpc-ebpf.struct_file_list.json -p tpc-ebpf