CoFlo
    
            
                
                    C and C++ control flow graph generator and analyzer
                
            
             
            
             
            
        
            CoFlo generates Control-Flow Graphs from C and C++ source code.  It can then output the graphs in a number of ways and perform various control flow analyses.
NOTE: CoFlo has not been under active development for several years.  At this time, I suggest you look into LLVM-based tooling to see if there is anything similar to CoFlo which will meet your needs.