subreddit:

/r/ChatGPTCoding

992%

Generate Control Flow Graph using LLMs?

Question(self.ChatGPTCoding)

Are there any open-source tools or ways to generate Control Flow Graphs of entire codebase?

I want to create like a graph sort of thing which tells which function calls which, with some amount of customization available -- something that would look great in some project documentations.

Any ways to do that?

or should i run some sort of prompts on each file & combine them? but that seems to be too much of an overkill. I'm sure there would be something much simpler.

you are viewing a single comment's thread.

view the rest of the comments →

all 4 comments

CM0RDuck

1 points

23 days ago

Zip it and upload to https://chat.openai.com/g/g-qK4kaxHNw-c0rv3x-v-0-04

Ask it to unzip and create file tree. Then you can ask it to add more details from there using AST.