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

[x2cpg] Improve Cfg creation. #4773

Merged
merged 1 commit into from
Jul 15, 2024
Merged

[x2cpg] Improve Cfg creation. #4773

merged 1 commit into from
Jul 15, 2024

Conversation

ml86
Copy link
Contributor

@ml86 ml86 commented Jul 15, 2024

  • Changed test constructs used to test the CFG creation to return
    List instead of Set. This avoids deduplication which is required
    for correct tests because the number of edges between two nodes
    matters.

  • The above change unveiled a problem with the for-statement CFG:
    Duplicate edge between loop condition and body

- Changed test constructs used to test the CFG creation to return
  List instead of Set. This avoids deduplication which is required
  for correct tests because the number of edges between two nodes
  matters.

- The above change unveiled a problem with the for-statement CFG:
  Duplicate edge between loop condition and body
@ml86 ml86 merged commit 5336780 into master Jul 15, 2024
5 checks passed
@max-leuthaeuser max-leuthaeuser deleted the markus/improveCfg branch July 16, 2024 07:00
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