remove import from init

pull/1353/head
Joran Honig 5 years ago
parent ccca3d0c5b
commit 9631c3efd5
  1. 2
      mythril/laser/plugin/__init__.py
  2. 3
      mythril/laser/plugin/plugins/benchmark.py
  3. 3
      mythril/laser/plugin/plugins/coverage/coverage_plugin.py
  4. 3
      mythril/laser/plugin/plugins/dependency_pruner.py
  5. 3
      mythril/laser/plugin/plugins/mutation_pruner.py
  6. 2
      mythril/plugin/interface.py
  7. 2
      mythril/plugin/loader.py

@ -18,5 +18,3 @@ For the implementation of plugins the following modules are of interest:
Which show the basic interfaces with which plugins are able to interact Which show the basic interfaces with which plugins are able to interact
""" """
from mythril.laser.plugin.interface import LaserPlugin
from mythril.laser.plugin.builder import PluginBuilder

@ -1,5 +1,6 @@
from mythril.laser.ethereum.svm import LaserEVM from mythril.laser.ethereum.svm import LaserEVM
from mythril.laser.plugin import LaserPlugin, PluginBuilder from mythril.laser.plugin.interface import LaserPlugin
from mythril.laser.plugin.builder import PluginBuilder
from time import time from time import time
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import logging import logging

@ -1,5 +1,6 @@
from mythril.laser.ethereum.svm import LaserEVM from mythril.laser.ethereum.svm import LaserEVM
from mythril.laser.plugin import LaserPlugin, PluginBuilder from mythril.laser.plugin.interface import LaserPlugin
from mythril.laser.plugin.builder import PluginBuilder
from mythril.laser.ethereum.state.global_state import GlobalState from mythril.laser.ethereum.state.global_state import GlobalState
from typing import Dict, Tuple, List from typing import Dict, Tuple, List

@ -1,5 +1,6 @@
from mythril.laser.ethereum.svm import LaserEVM from mythril.laser.ethereum.svm import LaserEVM
from mythril.laser.plugin import LaserPlugin, PluginBuilder from mythril.laser.plugin.interface import LaserPlugin
from mythril.laser.plugin.builder import PluginBuilder
from mythril.laser.plugin.signals import PluginSkipState from mythril.laser.plugin.signals import PluginSkipState
from mythril.laser.plugin.plugins.plugin_annotations import ( from mythril.laser.plugin.plugins.plugin_annotations import (
DependencyAnnotation, DependencyAnnotation,

@ -1,5 +1,6 @@
from mythril.laser.plugin.signals import PluginSkipWorldState from mythril.laser.plugin.signals import PluginSkipWorldState
from mythril.laser.plugin import LaserPlugin, PluginBuilder from mythril.laser.plugin.interface import LaserPlugin
from mythril.laser.plugin.builder import PluginBuilder
from mythril.laser.plugin.plugins.plugin_annotations import MutationAnnotation from mythril.laser.plugin.plugins.plugin_annotations import MutationAnnotation
from mythril.laser.ethereum.state.global_state import GlobalState from mythril.laser.ethereum.state.global_state import GlobalState
from mythril.laser.ethereum.svm import LaserEVM from mythril.laser.ethereum.svm import LaserEVM

@ -1,5 +1,5 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from mythril.laser.plugin import PluginBuilder as LaserPluginBuilder from mythril.laser.plugin.builder import PluginBuilder as LaserPluginBuilder
class MythrilPlugin: class MythrilPlugin:

@ -5,7 +5,7 @@ from mythril.plugin.discovery import PluginDiscovery
from mythril.support.support_utils import Singleton from mythril.support.support_utils import Singleton
from mythril.analysis.module.loader import ModuleLoader from mythril.analysis.module.loader import ModuleLoader
from mythril.laser.plugin import PluginBuilder as LaserPluginBuilder from mythril.laser.plugin.builder import PluginBuilder as LaserPluginBuilder
from mythril.laser.plugin.loader import LaserPluginLoader from mythril.laser.plugin.loader import LaserPluginLoader
import logging import logging

Loading…
Cancel
Save