Skip to content

CFG: Bug in production of the merge block when having #continue and #break statements if conditionals #137

Description

@jecisc

I am adding the concept of #mergeBlock to the CFG, especially for Python.

A merge block for a conditional block is the first node present in all branches of the condition.
It means that it is the first node following the conditional statement (if, switch, for, while, try...)

I managed most cases, but I detected a bug in the way I handled it when we have break and continue statements in the branches of a conditional in a loop.

I'll not have the time to fix it for now, but I want to keep a trace of this issue.

We should carefully review how merge points should be managed in those cases to cover those.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions