|
|
@ -104,8 +104,13 @@ class LaserEVM: |
|
|
|
self.iprof = InstructionProfiler() if enable_iprof else None |
|
|
|
self.iprof = InstructionProfiler() if enable_iprof else None |
|
|
|
|
|
|
|
|
|
|
|
if enable_coverage_strategy: |
|
|
|
if enable_coverage_strategy: |
|
|
|
from mythril.laser.ethereum.plugins.implementations.coverage.coverage_plugin import InstructionCoveragePlugin |
|
|
|
from mythril.laser.ethereum.plugins.implementations.coverage.coverage_plugin import ( |
|
|
|
from mythril.laser.ethereum.plugins.implementations.coverage.coverage_strategy import CoverageStrategy |
|
|
|
InstructionCoveragePlugin, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
from mythril.laser.ethereum.plugins.implementations.coverage.coverage_strategy import ( |
|
|
|
|
|
|
|
CoverageStrategy, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
instruction = InstructionCoveragePlugin() |
|
|
|
instruction = InstructionCoveragePlugin() |
|
|
|
instruction.initialize(self) |
|
|
|
instruction.initialize(self) |
|
|
|
self.strategy = CoverageStrategy(self.strategy, instruction) |
|
|
|
self.strategy = CoverageStrategy(self.strategy, instruction) |
|
|
|