-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
47 lines (34 loc) · 1.23 KB
/
makefile
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
galois:
cd src && gcc galois.c -Wall -g3 -lm -o galois.o ../simulated_input.o
fuzzy:
cd src/tests && gcc full_stream_test.c -Wall -g3 -lm -lsodium -lpthread -o tests.o ../../simulated_input.o ../analysis/vk1.o ../analysis/vk2.o
./src/tests/tests.o
onion:
cd src_onion/tests && gcc full_stream_test.c -Wall -g3 -lm -lsodium -lpthread -o tests.o ../../simulated_input.o
./src_onion/tests/tests.o
debug:
gdb ./src/tests/tests.o
graphs:
python3 ./src/analysis/analize_correct_keys.py
all_tests:
gcc ./src/tests/datasets.c -g3 -lm -lsodium -lpthread -o datasets.o ./src/tests/final.o simulated_input.o
./datasets.o
cd src/tests && gcc full_stream_test.c -Wall -g3 -lm -lsodium -lpthread -o tests.o ../../simulated_input.o
./src/tests/tests.o
FP:
cd src/tests && gcc false_positives.c -Wall -g3 -lm -lsodium -o fp.o ../../simulated_input.o final.o
cd src/tests && ./fp.o
clean:
rm ./src/tests/data/*
kill_all:
kill -9 $(ps -aux | grep datasets | awk '{print $2}')
hamming74:
python3 ./src/tests/hamming_distance_alg74.py
hamming31:
python3 ./src/tests/hamming_distance_alg32.py
hamming:
python3 ./src/tests/general_hamming.py
comparisons:
python3 ./src/analysis/comparisons.py
OAP:
python3 ./src/analysis/message_size_parser.py