Open zouyi73 opened 1 week ago
And I find that the .dot file could tranfer to .png file, but the query I write seems not to work.
Thank you for the question!
CodeQL does not have functionality built in to visualize the graphs. Instead, we recommend generating files in standard formats (e.g. DOT, DGML, as you mentioned above) and then relying on other tools to consume them. Compatible graph viewers are available as VSCode plugins, among others.
LLMs should do ok when given SARIF files with the schema.
CFA(Control Flow Analysis) I used the following simple QL statement:
Although I output the control flow of a specific function in formats such as SARIF, DOT, and DGML, the results are not easily understandable by humans. I want to ask if CodeQL provides any other methods for visualizing control flow that can be easily understood by both humans and, if possible, LLMs (large language models).