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
Adds Quickstart to README.md, fixes the CI: 1) Adds automatic acceptance of new Conda ToS 2) Reconfigures cached file locations based on output structure.
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,6 @@ Lastly, add the path of this executable to your `PATH` environment variable:
90
90
export PATH="$PWD/codeql:$PATH"
91
91
```
92
92
93
-
**Note:** Also adjust the environment variable `CODEQL_QUERY_VERSION` in `src/config.py` according to the instructions therein. For instance, for CodeQL v2.15.0, this should be `0.8.0`.
94
-
95
93
### Visualizer
96
94
97
95
IRIS comes with a visualizer to view the SARIF output files. More detailed instructions can be found in the [docs](https://iris-sast.github.io/iris/features/visualizer.html).
@@ -106,6 +104,24 @@ IRIS comes with a visualizer to view the SARIF output files. More detailed instr
106
104
4.**Select a project**: Choose a project from the dropdown to load its analysis results
107
105
5.**Filter and explore**: Use the CWE and model filters to explore specific vulnerabilities
108
106
107
+
## ⚡ Quickstart
108
+
109
+
Make sure you have followed all of the environment setup instructions before proceeding!
110
+
111
+
To quickly try IRIS on the example project `perwendel__spark_CVE-2018-9159_2.7.1`, run the following commands:
python src/iris.py --query cwe-022wLLM --run-id test --llm qwen2.5-coder-7b perwendel__spark_CVE-2018-9159_2.7.1
122
+
```
123
+
124
+
This will build the project, generate the CodeQL database, and analyze it for CWE-022 vulnerabilities using the specified LLM (qwen2.5-coder-7b). The output of these three steps will be stored under `data/build-info/`, `data/codeql-dbs/`, and `output/` respectively.
109
125
110
126
## 💫 Contributions
111
127
We welcome any contributions, pull requests, or issues!
Copy file name to clipboardExpand all lines: docs/environment-setup/native.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,5 +56,3 @@ Lastly, add the path of this executable to your `PATH` environment variable:
56
56
```sh
57
57
export PATH="$PWD/codeql:$PATH"
58
58
```
59
-
60
-
**Note:** Also adjust the environment variable `CODEQL_QUERY_VERSION` in `src/config.py` according to the instructions therein. For instance, for CodeQL v2.15.0, this should be `0.8.0`.
0 commit comments