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

Add simple loop detection #15

Closed
feliam opened this issue Dec 9, 2021 · 0 comments · Fixed by #21
Closed

Add simple loop detection #15

feliam opened this issue Dec 9, 2021 · 0 comments · Fixed by #21
Labels
enhancement New feature or request

Comments

@feliam
Copy link
Contributor

feliam commented Dec 9, 2021

Yup, seems like loops are possible in newer Teal. Detectors need to avoid recurring on loop-y paths (it end up doing "inf" recursion)

Spray a check about the current BB being already in current path ?

        # check for loops
        if bb in current_path:
            return
@feliam feliam added the enhancement New feature or request label Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant