I used to use Doxygen to create caller and callee graphs to understand code flow. Unfortunately, the tool hasn't really changed in more than a decade.