mirror of https://github.com/crytic/slither
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.
47 lines
2.7 KiB
47 lines
2.7 KiB
#!/usr/bin/env bash
|
|
|
|
source "$(dirname "$0")""/ci_test.sh"
|
|
|
|
solc use "0.4.25"
|
|
|
|
# Be sure that only one of the following line is uncommented before running the script
|
|
|
|
|
|
#generate_expected_json tests/deprecated_calls.sol "deprecated-standards"
|
|
#generate_expected_json tests/erc20_indexed.sol "erc20-indexed"
|
|
#generate_expected_json tests/incorrect_erc20_interface.sol "erc20-interface"
|
|
#generate_expected_json tests/incorrect_erc721_interface.sol "erc721-interface"
|
|
#generate_expected_json tests/uninitialized.sol "uninitialized-state"
|
|
#generate_expected_json tests/backdoor.sol "backdoor"
|
|
#generate_expected_json tests/backdoor.sol "suicidal"
|
|
#generate_expected_json tests/pragma.0.4.24.sol "pragma"
|
|
#generate_expected_json tests/old_solc.sol.json "solc-version"
|
|
#generate_expected_json tests/reentrancy.sol "reentrancy-eth"
|
|
#generate_expected_json tests/reentrancy.sol "reentrancy-unlimited-gas"
|
|
#generate_expected_json tests/uninitialized_storage_pointer.sol "uninitialized-storage"
|
|
#generate_expected_json tests/tx_origin.sol "tx-origin"
|
|
#generate_expected_json tests/unused_state.sol "unused-state"
|
|
#generate_expected_json tests/locked_ether.sol "locked-ether"
|
|
#generate_expected_json tests/arbitrary_send.sol "arbitrary-send"
|
|
#generate_expected_json tests/inline_assembly_contract.sol "assembly"
|
|
#generate_expected_json tests/inline_assembly_library.sol "assembly"
|
|
#generate_expected_json tests/low_level_calls.sol "low-level-calls"
|
|
#generate_expected_json tests/const_state_variables.sol "constable-states"
|
|
#generate_expected_json tests/external_function.sol "external-function"
|
|
#generate_expected_json tests/external_function_2.sol "external-function"
|
|
#generate_expected_json tests/naming_convention.sol "naming-convention"
|
|
#generate_expected_json tests/uninitialized_local_variable.sol "uninitialized-local"
|
|
#generate_expected_json tests/controlled_delegatecall.sol "controlled-delegatecall"
|
|
#generate_expected_json tests/constant.sol "constant-function-asm"
|
|
#generate_expected_json tests/constant.sol "constant-function-state"
|
|
#generate_expected_json tests/unused_return.sol "unused-return"
|
|
#generate_expected_json tests/shadowing_state_variable.sol "shadowing-state"
|
|
#generate_expected_json tests/shadowing_abstract.sol "shadowing-abstract"
|
|
#generate_expected_json tests/timestamp.sol "timestamp"
|
|
#generate_expected_json tests/multiple_calls_in_loop.sol "calls-loop"
|
|
#generate_expected_json tests/shadowing_builtin_symbols.sol "shadowing-builtin"
|
|
#generate_expected_json tests/shadowing_local_variable.sol "shadowing-local"
|
|
#generate_expected_json tests/solc_version_incorrect.sol "solc-version"
|
|
#generate_expected_json tests/right_to_left_override.sol "rtlo"
|
|
#generate_expected_json tests/unchecked_lowlevel.sol "unchecked-lowlevel"
|
|
|
|
|