Skip to content

Path Finding Utility

Dan Guido edited this page May 15, 2019 · 1 revision

slither-find-paths finds all the paths that reach a given target.


slither-find-paths file.sol [contract.function targets]
  • [contract.function targets] is either one target, or a list of target


Tested on tests/possible_paths/paths.sol

$ slither-find-paths paths.sol A.destination
Target functions:
- A.destination()

The following functions reach the specified targets:
- B.call2(A)

The following paths reach the specified targets: -> A.destination()

B.call2(A) -> -> A.destination()
You can’t perform that action at this time.