Add undefined wiki info to shadowing function detector (close #158)

pull/162/head
Josselin 6 years ago
parent 76c07772b4
commit 0ff9305aef
  1. 9
      slither/detectors/shadowing/shadowing_functions.py

@ -18,6 +18,15 @@ class ShadowingFunctionsDetection(AbstractDetector):
IMPACT = DetectorClassification.LOW
CONFIDENCE = DetectorClassification.HIGH
# This detector is not meant to be called as a generic detector
# It's only used by inheritances printers
WIKI = 'undefined'
WIKI_TITLE = 'undefined'
WIKI_DESCRIPTION = 'undefined'
WIKI_EXPLOIT_SCENARIO = 'undefined'
WIKI_RECOMMENDATION = 'undefined'
def detect_shadowing(self, contract):
functions_declared = set([x.full_name for x in contract.functions])
ret = {}

Loading…
Cancel
Save