Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/scripts/travis_test.sh

28 lines
512 B

#!/usr/bin/env bash
slither examples/bugs/uninitialized.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi
slither examples/bugs/backdoor.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi
slither examples/bugs/pragma.0.4.24.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi
slither examples/bugs/old_solc.sol.json --solc-ast
if [ $? -ne 1 ]; then
exit 1
fi
slither examples/bugs/reentrancy.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi
exit 0