Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sheriff[feature] : Infinite Recursion Detection #31

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

piyushgarg-juspay
Copy link
Collaborator

Changes:

  • Refactor test cases to multiple suites based on type of rule or feature
  • Refactor plugin code structure to more maintainable & reusable modules
  • Refactor sheriffRules.yaml to use multiple function names in single rule for log rules
  • Add Infinite Recursion Detection logic as by default, with modules and function exception as fallback for any miss in plugin
  • Add documentation for patterns currently being detected as infinite recursion InfiniteRecursionPatterns.md
  • Update documentation
  • Update changelog
  • Update readme

Test Case: InfiniteRecursionTest.hs
Test Result:
image
image

@aravindgopall aravindgopall merged commit 7177f53 into ghc-9.2.8 Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants