-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·56 lines (40 loc) · 831 Bytes
/
Copy pathsetup.sh
File metadata and controls
executable file
·56 lines (40 loc) · 831 Bytes
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
set -e
cd ..
cd kiso-utils && pip install -e . && cd ..
cd kiso-llm && pip install -e . && cd ..
cd kiso-parser-c && pip install -e . && cd ..
cd kiso-parser-rust && pip install -e . && cd ..
cd kiso-parser-c/c_parser_api
./build_tracer.sh
# ls -la /usr/local/lib/libtracer.so
cp /root/kiso-parser-c/c_parser_api/libtracer.so /usr/local/lib/
# sudo ldconfig
cd ../..
cargo install rustfilt
cargo install bindgen-cli
cargo install cargo-modules
rustup toolchain install nightly-aarch64-unknown-linux-gnu
# Macro parser
cd kiso-parser-macro
./download_clang.sh
cd macro_finder
./build.sh
cd ..
cd macro_analyzer
./build.sh
cd ..
cd ..
# C parser
cd kiso-parser-c
./download_clang.sh
cd include_finder
./build.sh
cd ..
cd usage_analyzer
./build.sh
cd ..
cd usage_macro_ref_analyzer
./build.sh
cd ..
cd ..