Get Control flow graph with address as shown in the assembly

221 Views Asked by At

Hi I am trying to get a control flow graph with basic block's detailed address in it, i.e. if the CFG tells me about a basic block, it should also tells me the start/end assembly address of that basic block.

I have tried gcc -fdump-tree-cfg-address <myfile.c>

However, the gcc ignored the address. So I am wondering is there any method I can achieve the goal? Not limit to gcc, any solution would be helpful. Thanks!

0

There are 0 best solutions below