I saw many software generating flow chart from C/C++ Code but i never see as your requirement.
It may be .Lets see...