Skip to content

Commit

Permalink
docs: update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
futuretech6 committed Nov 1, 2022
1 parent 368c17d commit 46e43fa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ The command below shows an example of analyzing the ref-exchange.

```bash
# clone ref-contracts
git clone https://github.com/ref-finance/ref-contracts ~/near-repo/ref-contracts
git clone https://github.com/linear-protocol/LiNEAR.git ~/near-repo/LiNEAR

# run Rustle
./rustle -t ~/near-repo/ref-contracts ~/near-repo/ref-contracts/ref-exchange
./rustle -t ~/near-repo/LiNEAR ~/near-repo/LiNEAR/contracts/linear

# [optional] run Rustle on specified detectors or severity groups
./rustle -t ~/near-repo/LiNEAR ~/near-repo/LiNEAR/contracts/linear -d high,medium,complex-loop
```

A CSV-format report will be generated in the directory "./audit-result".
Expand Down

0 comments on commit 46e43fa

Please sign in to comment.