-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Received during a scan:
Traceback (most recent call last):
00:11.719 error File "/usr/local/bin/slither", line 8, in <module>
00:11.719 error sys.exit(main())
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/__main__.py", line 776, in main
00:11.719 error main_impl(all_detector_classes=detectors, all_printer_classes=printers)
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/__main__.py", line 882, in main_impl
00:11.719 error ) = process_all(filename, args, detector_classes, printer_classes)
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/__main__.py", line 107, in process_all
00:11.719 error ) = process_single(compilation, args, detector_classes, printer_classes)
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/__main__.py", line 87, in process_single
00:11.719 error return _process(slither, detector_classes, printer_classes)
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/__main__.py", line 137, in _process
00:11.719 error detector_resultss = slither.run_detectors()
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/slither.py", line 292, in run_detectors
00:11.719 error results = [d.detect() for d in self._detectors]
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/slither.py", line 292, in <listcomp>
00:11.719 error results = [d.detect() for d in self._detectors]
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slither/detectors/abstract_detector.py", line 203, in detect
00:11.719 error for r in [output.data for output in self._detect()]:
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/detectors/nft_approve_warning.py", line 67, in _detect
00:11.719 error for d in self._detect_arbitrary_from(f):
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/detectors/nft_approve_warning.py", line 35, in _detect_arbitrary_from
00:11.719 error all_library_calls = [f_called[1].solidity_signature for f_called in f.library_calls]
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/detectors/nft_approve_warning.py", line 35, in <listcomp>
00:11.719 error all_library_calls = [f_called[1].solidity_signature for f_called in f.library_calls]
00:11.719 error TypeError: 'LibraryCall' object is not subscriptable
00:11.719 error Failed to run slither: Errored out with code: 1, while running slither
00:11.719 error sys.exit(main())
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/cli.py", line 189, in main
00:11.719 error handle_parser(parsed, unknown)
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/cli.py", line 115, in handle_parser
00:11.719 error run(
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/cli.py", line 82, in run
00:11.719 error raise e
00:11.719 error File "/usr/local/lib/python3.10/dist-packages/slitherin/cli.py", line 76, in run
00:11.719 error raise Exception(
00:11.719 error Exception: Errored out with code: 1, while running slither
Metadata
Metadata
Assignees
Labels
No labels