-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrun3.sh
executable file
·37 lines (22 loc) · 2.68 KB
/
run3.sh
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
#python3 function-extractor.py -o op/katran -e extracted.c -c fcg/katran.xdpdecap.cg.out -t txl_katran -s examples/katran -b /home/sayandes/opened_extraction/examples/katran
#python3 function-extractor.py -o op/katran -e extracted.c -c func.out -t txl -s examples/katran
#python3 function-extractor.py -o op/cilium -e extracted.c -c func.out -t txl_cilium -s examples/cilium
#python3 function-extractor.py -o op/cilium -e extracted.c -c tail_handle_ipv4.cg.out -t txl_cilium -s examples/cilium -b /home/sayandes/opened_extraction/examples/cilium
#works
#python3 function-extractor.py -o op/cilium -e extracted.c -c cilium.sock4_connect.cg.out -t txl_cilium -s examples/cilium -b /home/sayandes/opened_extraction/examples/cilium
#not works
#python3 function-extractor.py -o op/cilium -e extracted.c -c cilium.handle_ipv6.cg.out -t txl_cilium -s examples/cilium -b /home/sayandes/opened_extraction/examples/cilium
#python3 function-extractor.py -o op/cilium -e extracted.c -c cilium.from_overlay.cg.out -t txl_cilium -s examples/cilium -b /home/sayandes/opened_extraction/examples/cilium
#TO make sockops work, 1) need to move extracted.c and Makefile to sockops folder 2) Do #defines before includes
#After PARTITION
#python3 src/function-extractor.py -o op/cilium_redirect_to-proxy -e extracted.c -c fcg/cilium.redirect_to_proxy.cg.out.cleaned -t txl_cilium -s examples/cilium -b /home/palani/github/opened_extraction/examples/cilium --isCilium
#Semi working..need to fix headers
#python3 function-extractor.py -o op/cilium_sock4_connect -e extracted.c -c fcg/cilium.sock4_connect.cg.out.cleaned -t txl_cilium -s examples/cilium -b /home/palani/github/opened_extraction/examples/cilium
#Not working
#compiles..but not loading
#python3 function-extractor.py -o op/cilium_handle_ipv4 -e extracted.c -c fcg/cilium.handle_ipv4.cg.out.cleaned -t txl_cilium -s examples/cilium -b /home/palani/github/opened_extraction/examples/cilium
#compiling not loading
#python3 function-extractor.py -o op/cilium_handle_ipv6 -e extracted.c -c fcg/cilium.handle_ipv6.cg.out.cleaned -t txl_cilium -s examples/cilium -b /home/palani/github/opened_extraction/examples/cilium
#Working
#python3 src/function-extractor.py -o op/katran_xdpdecap -e extracted.c -c op/fcg/katran.xdpdecap.cg.out.cleaned -t op/katran/katran.struct_file_list.json -f op/katran/katran.function_file_list.json -s examples/katran -b /home/palani/github/opened_extraction/examples/katran
python3 src/function-extractor.py -o op/cilium_sock4_connect -e extracted.c -c op/fcg/cilium.sock4_connect.cg.out.cleaned -t op/cilium/cilium.struct_file_list.json -f op/cilium/cilium.function_file_list.json -s examples/cilium -b /home/palani/github/opened_extraction/examples/cilium --isCilium