<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Dear folks,<div>    I am trying to handle function pointers at call graph, and I found that the CallGraphSCCPass makes function pointers as external node, which is actually an empty CallGraphNode (NULL pointer)?<br clear="all">
    If I want to distinguish the function pointer types in the call graph (and I also want the SCC order in CallGraphSCCPass), can I do that easily? Or I have to inheritate the CallGraphSCCPass and handle function pointer types in the call graph by myself?</div>
<div><br></div><div>   For example,</div><div><br></div><div>int aa(int i);</div><div><br></div><div>int main() {</div><div><div><span style="white-space: pre-wrap; "> </span>int (*foo)(int);</div><div><span style="white-space: pre-wrap; ">      </span>foo = &aa;</div>
<div><span style="white-space: pre-wrap; ">       </span>foo(1);</div></div><div>}</div><div><br></div><div>     If I want to use the CallGraphSCCPass to get to know that the "foo" pointer, which is an external node in the CallGraphSCCPass, actually has the same function type the same as aa(int), how could I get this type information from CallGraphSCCPass?</div>
</span><br>-- <br>Regards,<br>Heming Cui<br>