vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Add a control-flow graph viewer

Open aeisenberg opened this issue 5 years ago • 2 comments

The use case of the control-flow graph viewer is for teams developing language libraries. They need to ensure that the CFG generated by the CodeQL library is correct. In particular, such a graph makes it easy to see erroneously disconnected components.

The CFG does not need to span across files.

aeisenberg avatar Sep 09 '20 21:09 aeisenberg

Any updates on this feature? Having the ability to view CFGs for source code would be immensely useful.

naveedgazi avatar Sep 07 '21 17:09 naveedgazi

We haven't prioritized this work yet. This is not a straightforward feature to implement well. Control flow graphs can be large and complex and most graph visualization libraries focus on smaller graphs that can be viewed on a single screen.

Some thought and care needs to go into creating a graph viewer that is easy to understand and complete.

aeisenberg avatar Sep 07 '21 18:09 aeisenberg