I need to do some data flow analysis for C++ programs. Any open source tools that anyone can suggest?
try to evaluate if gcc and the intermediate front-end code transformation into
GENERIC (intermediate languages for workflow analysis for the code optimizer) fit for your purpose. This is fully free and open source. I just cannot tell you how exactly to output this tree representation but there are many gcc manuals online.