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.
19 lines
423 B
19 lines
423 B
6 years ago
|
|
||
|
from slither.detectors.abstract_detector import AbstractDetector, DetectorClassification
|
||
|
|
||
|
|
||
|
class Example(AbstractDetector):
|
||
|
"""
|
||
|
Documentation
|
||
|
"""
|
||
|
|
||
|
ARGUMENT = 'mydetector' # slither will launch the detector with slither.py --mydetector
|
||
|
HELP = 'Help printed by slither'
|
||
|
CLASSIFICATION = DetectorClassification.HIGH
|
||
|
|
||
|
def detect(self):
|
||
|
|
||
|
self.logger('Nothing to detect!')
|
||
|
|
||
|
return []
|