Skip to content

Commit 68d4031

Browse files
committed
Updated README.md with the new options
1 parent f075adf commit 68d4031

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ GoLiSA is a static analyzer based on abstract interpretation for smart contracts
99
## Usage
1010
The main class is [GoLiSA](go-lisa/src/main/java/it/unive/golisa/GoLiSA.java) and it expects four parameters:
1111
- `-i path`: the Go file to be analyzed
12+
- `-ci name channel`: the deployment name and channel of the contract to analyze (Hyperledger Fabric only)
1213
- `-o path`: the output directory
14+
- `-d`: the dump of analysis information
15+
- `-xc`: set cross-contract analysis (Hyperledger Fabric only)
1316
- `-f framework`: the blockchain framework used in the input file (`hyperledger-fabric`, `cosmos-sdk`, `tendermint-core`)
1417
- `-a analysis`: the analysis to perform
1518
- `non-determinism` performs an analysis to detect explicit flows that lead to issues related to __non-determinism__ in blockchain software
@@ -25,7 +28,7 @@ The main class is [GoLiSA](go-lisa/src/main/java/it/unive/golisa/GoLiSA.java) an
2528

2629
### Example of command line
2730

28-
`-i C:\Users\MyAccount\mycontract.go -o C:\Users\MyAccount\output -f hyperledger-fabric -a unhandled-errors`
31+
`-i C:\Users\MyAccount\codeA.go -ci "contractA" "otherchannel" -i C:\Users\MyAccount\codeB.go -ci "contractB" "mychannel" -o C:\Users\MyAccount\output -f hyperledger-fabric -a cchi -xc`
2932

3033
## Publications
3134
- Luca Olivieri, Luca Negrini, Vincenzo Arceri, Fabio Tagliaferro, Pietro Ferrara, Agostino Cortesi, Fausto Spoto: <i>Information Flow Analysis for Detecting Non-Determinism in Blockchain</i>. ECOOP 2023: 23:1-23:25 ([link](https://drops.dagstuhl.de/opus/volltexte/2023/18216/))

0 commit comments

Comments
 (0)