-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean import detectors/printer in slither/__main__.py
- Loading branch information
Showing
3 changed files
with
54 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from .examples.backdoor import Backdoor | ||
from .variables.uninitialized_state_variables import UninitializedStateVarsDetection | ||
from .variables.uninitialized_storage_variables import UninitializedStorageVars | ||
from .variables.uninitialized_local_variables import UninitializedLocalVars | ||
from .attributes.constant_pragma import ConstantPragma | ||
from .attributes.incorrect_solc import IncorrectSolc | ||
from .attributes.locked_ether import LockedEther | ||
from .functions.arbitrary_send import ArbitrarySend | ||
from .functions.suicidal import Suicidal | ||
#from .functions.complex_function import ComplexFunction | ||
from .reentrancy.reentrancy_benign import ReentrancyBenign | ||
from .reentrancy.reentrancy_read_before_write import ReentrancyReadBeforeWritten | ||
from .reentrancy.reentrancy_eth import ReentrancyEth | ||
from .variables.unused_state_variables import UnusedStateVars | ||
from .variables.possible_const_state_variables import ConstCandidateStateVars | ||
from .statements.tx_origin import TxOrigin | ||
from .statements.assembly import Assembly | ||
from .operations.low_level_calls import LowLevelCalls | ||
from .operations.unused_return_values import UnusedReturnValues | ||
from .naming_convention.naming_convention import NamingConvention | ||
from .functions.external_function import ExternalFunction | ||
from .statements.controlled_delegatecall import ControlledDelegateCall | ||
from .attributes.const_functions import ConstantFunctions | ||
from .shadowing.abstract import ShadowingAbstractDetection | ||
from .shadowing.state import StateShadowing | ||
from .shadowing.local import LocalShadowing | ||
from .shadowing.builtin_symbols import BuiltinSymbolShadowing | ||
from .operations.block_timestamp import Timestamp | ||
from .statements.calls_in_loop import MultipleCallsInLoop | ||
from .statements.incorrect_strict_equality import IncorrectStrictEquality | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from .summary.function import FunctionSummary | ||
from .summary.contract import ContractSummary | ||
from .inheritance.inheritance import PrinterInheritance | ||
from .inheritance.inheritance_graph import PrinterInheritanceGraph | ||
from .call.call_graph import PrinterCallGraph | ||
from .functions.authorization import PrinterWrittenVariablesAndAuthorization | ||
from .summary.slithir import PrinterSlithIR | ||
from .summary.slithir_ssa import PrinterSlithIRSSA | ||
from .summary.human_summary import PrinterHumanSummary | ||
from .functions.cfg import CFG | ||
from .summary.function_ids import FunctionIds | ||
from .summary.variables_order import VariablesOrder |