DSG Visualization


Is it possible to display the data structure graphs created by the Data Structure Analysis using a visualization tool?


yes. Just run one of these commands:

analyze -datastructure x.bc -- local DSGs
analyze -budatastructure x.bc -- BU DSGs
analyze -tddatastructure x.bc -- TD DSGs

These commands will output one "dot" file for each function in the program and a globals graph. You can use the dot program (search for graphviz) to render these in just about any format you want.


Thanks, I’ll try that