πŸ”§Audit Tools

Count Lines of Code (cloc)

 cloc ./src
 
 # OUTPUT
      16 text files.
      16 unique files.
       0 files ignored.

github.com/AlDanial/cloc v 2.00  T=0.02 s (917.5 files/s, 144913.9 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Solidity                        16            335            837           1355
-------------------------------------------------------------------------------
SUM:                            16            335            837           1355
-------------------------------------------------------------------------------

VCS Solidity Metrics Report

Slither

Use Docker to avoid Python dependency issues.

Installation

Pull latest image
docker pull trailofbits/eth-security-toolbox
Run and enter container
docker run -it -v <PATH_TO_PROJECT_ROOT>:/share trailofbits/eth-security-toolbox

Usage

Slither commands inside container
slither .                 # Run on all files
slither src/AavePM.sol    # Run on specific files

Aderyn

Installation

curl -L https://raw.githubusercontent.com/Cyfrin/aderyn/dev/cyfrinup/install | bash
cyfrinup

Usage

aderyn .

Last updated