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.
13 lines
444 B
13 lines
444 B
from typing import Tuple, List, Type
|
|
|
|
from slither_my_plugin.detectors.example import Example
|
|
|
|
from slither.detectors.abstract_detector import AbstractDetector
|
|
from slither.printers.abstract_printer import AbstractPrinter
|
|
|
|
|
|
def make_plugin() -> Tuple[List[Type[AbstractDetector]], List[Type[AbstractPrinter]]]:
|
|
plugin_detectors = [Example]
|
|
plugin_printers: List[Type[AbstractPrinter]] = []
|
|
|
|
return plugin_detectors, plugin_printers
|
|
|