Fix inccorect wiki link to printer

Update my_plugin tutorial
pull/179/head
Josselin 6 years ago
parent 5cc07a3608
commit 6fb17e9f63
  1. 15
      plugin_example/slither_my_plugin/detectors/example.py
  2. 2
      slither/printers/summary/variables_order.py

@ -12,8 +12,17 @@ class Example(AbstractDetector):
IMPACT = DetectorClassification.HIGH
CONFIDENCE = DetectorClassification.HIGH
def detect(self):
WIKI = ''
self.logger('Nothing to detect!')
WIKI_TITLE = ''
WIKI_DESCRIPTION = ''
WIKI_EXPLOIT_SCENARIO = ''
WIKI_RECOMMENDATION = ''
return []
def _detect(self):
info = 'This is an example!'
json = self.generate_json_result(info)
return [json]

@ -10,7 +10,7 @@ class VariablesOrder(AbstractPrinter):
ARGUMENT = 'variables-order'
HELP = 'Print the storage order of the state variables'
WIKI = 'https://github.com/trailofbits/slither/wiki/Printer-documentation#variables-written-and-authorization'
WIKI = 'https://github.com/trailofbits/slither/wiki/Printer-documentation#variables-order'
def output(self, _filename):
"""

Loading…
Cancel
Save