Skip to content

Commit 674de97

Browse files
committed
Update 2023-12-12-AutoFix-Automated-Vulnerability-Remediation-using-Static-Analysis-and-LLMs.md
1 parent 12169c9 commit 674de97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2023-12-12-AutoFix-Automated-Vulnerability-Remediation-using-Static-Analysis-and-LLMs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Implementing AutoFix in your software development workflow is straightforward an
6363

6464
The first step in utilizing AutoFix is to prepare your development environment. This involves setting up a virtual environment, which helps in managing dependencies and keeping your project isolated from other Python projects on your system. Here's how you can set it up:
6565

66-
```bash
66+
```
6767
python3 -m venv .venv
6868
source .venv/bin/activate
6969
```
@@ -74,7 +74,7 @@ This command creates a new virtual environment named `.venv` and activates it.
7474

7575
With your environment ready, the next step is to install the necessary dependencies. AutoFix comes with a `requirements.txt` file that lists all the packages needed for it to run effectively. Install them using the following command:
7676

77-
```bash
77+
```
7878
pip install -r requirements.txt
7979
```
8080

@@ -84,7 +84,7 @@ This step ensures that all the required libraries, including those for static an
8484

8585
Now that your environment is set up and dependencies are installed, you're ready to run AutoFix. You can do this by providing an input file for AutoFix to analyze and remediate. For instance, to run AutoFix on a sample Java file:
8686

87-
```bash
87+
```
8888
python autofix.py --input examples/example.java
8989
```
9090

0 commit comments

Comments
 (0)