Metadata-Version: 2.1
Name: solTg-plus
Version: 0.1.3
Summary: Test generation for Solidity in Foundry format (https://github.com/foundry-rs/foundry).
Author: Konstantin Britikov
Author-email: BritikovKI@Gmail.com
Requires-Python: >3.5.2
Description-Content-Type: text/markdown
Requires-Dist: eth-hash==0.5.2
Requires-Dist: eth-typing==3.5.2
Requires-Dist: eth-utils==2.3.1
Requires-Dist: exceptiongroup==1.1.1
Requires-Dist: matplotlib==3.7.1
Requires-Dist: numpy<2
Requires-Dist: networkx==3.1
Requires-Dist: packaging==23.0
Requires-Dist: pycryptodome==3.19.1
Requires-Dist: pyparsing==3.0.9
Requires-Dist: requests==2.31.0
Requires-Dist: selenium==4.10.0
Requires-Dist: sniffio==1.3.0
Requires-Dist: sortedcontainers==2.4.0
Requires-Dist: zipp==3.15.0
Requires-Dist: xlsxwriter==3.1.9
Requires-Dist: setuptools

**This work builds upon the original implementation of solTg by Konstantin Britikov.**

Follow instructions in README_original.md to install dependencies. 

## Modified tgnonlin and solc

Precompiled binaries for linux are present in the ./deps folder, replace them with binaries compiled from soltgbackend repo if necessary.

## forge-std

```
forge install foundry-rs/forge-std --no-commit
```

To install forge-std.

## python

Once all dependencies are installed, run:
```
pip install .
```

This should install any python dependencies.

When I tried to run the tool on my linux system I got a version error for numpy.

```
pip install "numpy<2"
```

Fixed this error for me.

## How to run

Run the tool using the following command

```
`python3 ./solTg/RunAll.py -i <input file/dir>` -t <timeout in seconds>
```

The contract to be analysed must not be an abstract contract and its code must contain an assert in order for SolCMC to generate its CHC encoding. SolTG will notify the user if the encoding fails to generate.




