Files
2022-08-31 11:48:13 +02:00
..
2022-08-31 11:48:13 +02:00
2022-01-25 15:44:08 +01:00
2022-05-25 16:05:27 -05:00

Slither, Plugin Example

This repository contains an example of plugin for Slither.

See the detector documentation.

Architecture

  • setup.py: Contain the plugin information
  • slither_my_plugin/__init__.py: Contain make_plugin(). The function must return the list of new detectors and printers
  • slither_my_plugin/detectors/example.py: Detector plugin skeleton.

Once these files are updated with your plugin, you can install it:

python setup.py develop

We recommend to use a Python virtual environment (for example: virtualenvwrapper).