Skip to content

Commit

Permalink
Merge pull request #599 from crytic/dev-rec-limit
Browse files Browse the repository at this point in the history
Increase default python stack depth limit
  • Loading branch information
montyly authored Aug 22, 2020
2 parents 8133041 + b022b39 commit c6e0489
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions slither/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ def format(self, record):


def main():
# Codebase with complex domninators can lead to a lot of SSA recursive call
sys.setrecursionlimit(1500)

detectors, printers = get_detectors_and_printers()

main_impl(all_detector_classes=detectors, all_printer_classes=printers)
Expand Down

0 comments on commit c6e0489

Please sign in to comment.