You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-18Lines changed: 21 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,6 @@ More details can be found in our MAPS paper (https://arxiv.org/abs/2011.03616).
39
39
-`scripts`: Scripts for pattern mining and scanning for anomalies
40
40
-`quick_start`: Scripts to run quick start tests
41
41
-`github`: Scripts and data for downloading GitHub repos.
42
-
It also contains pre-processed training data containing patterns mined from
43
-
6000 GitHub repositories using C as their primary language.
44
42
-`tests`: unit tests
45
43
46
44
## Install
@@ -69,14 +67,13 @@ $ cmake .
69
67
$ make -j
70
68
$ make test
71
69
```
72
-
All tests in `make test` should pass, but currently tests for Verilog are failing because of a version mismatch issue.
73
-
Verilog support is WIP.
70
+
All tests in `make test` should pass.
74
71
75
72
## Using ControlFlag
76
73
77
74
### Quick start
78
75
79
-
#### Using patterns obtained from 6000 GitHub repos to scan repository of your choice
76
+
#### Using patterns obtained from several GitHub repos to scan repository of your choice
80
77
81
78
Download the training data for the language of interest depending on the memory constraints of your device. Note, however, that using smaller datasets may lead to reduced accuracy in the results ControlFlag produces and possibly an increase in the number of false positives it generates.
82
79
@@ -85,6 +82,9 @@ Language | Dataset name | Size on disk | Memory requirements | Direct link | gdo
85
82
C | Small | ~100MB | ~400MB | [link](https://drive.google.com/file/d/1gvUyRXq1SeZD9g3i__RaamYAMo_QaQIb/view?usp=sharing) | 1gvUyRXq1SeZD9g3i__RaamYAMo_QaQIb | 2825f209aba0430993f7a21e74d99889
86
83
C | Medium | ~450MB | ~1.3GB | [link](https://drive.google.com/file/d/1zsCFJAKlZlSAWKPfBcVGcQNlFB5Gtwo3/view?usp=sharing) | 1zsCFJAKlZlSAWKPfBcVGcQNlFB5Gtwo3 | aab2427edebe9ed4acab75c3c6227f24
87
84
C | Large | ~9GB | ~13GB | [link](https://drive.google.com/file/d/1-jzs3zrKU541hwChaciXSk8zrnMN1mYc/view?usp=sharing) | 1-jzs3zrKU541hwChaciXSk8zrnMN1mYc | 1ba954d9716765d44917445d3abf8e85
85
+
C++ | Small | ~200MB | ~500MB | [link](https://drive.google.com/file/d/1ZD9J7vyT61T1D4rsedVXgFi0CrVb5BJl/view?usp=sharing) | 1ZD9J7vyT61T1D4rsedVXgFi0CrVb5BJl | f954486e20961f0838ac08e5d4dbf312
86
+
C++ | Medium | ~500MB | ~1.3GB | [link](https://drive.google.com/file/d/1Pj3bQN3nwy84F5o1w05T1Gz8b4hGuPUr/view?usp=sharing) | 1Pj3bQN3nwy84F5o1w05T1Gz8b4hGuPUr | a5c18ea1cdbe354b93aabf9ecaa5b07a
87
+
C++ | Large | ~1.2GB | ~3GB | [link](https://drive.google.com/file/d/14iNcH3plw3EYnYfX63LntPtyr8Pwo2IP/view?usp=sharing) | 14iNcH3plw3EYnYfX63LntPtyr8Pwo2IP | 4f5ffc1ab942eaba399cafd5be8bb45f
0 commit comments