Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 769 Bytes

static-analyzers.md

File metadata and controls

36 lines (28 loc) · 769 Bytes

Static Analyzers

Slither

To test your project using slither, here is a sample slither.config.json:

{
  "filter_paths": "lib",
  "solc_remaps": [
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
  ]
}

See the slither wiki for more information.

Mythril

To test your project using mythril, here is a sample mythril.config.json:

{
  "remappings": [
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  }
}

See the mythril docs for more information.