Source navigator roadmap, features list, etc.?

Syd Polk spolk@redhat.com
Fri Sep 29 11:32:00 GMT 2000


At 08:18 AM 9/29/00 +0100, dave.banham@tde.alstom.com wrote:


>Syd,
>You misunderstand my request. All I would like SN to do is "flag 
>assignments of
>function pointers" so that Xref will show the assignment as a reference to the
>function symbol being xref'd. Currently it does not, so the only way of 
>finding
>such references is with grep.

I agree with you here. Others have asked for what I was talking about.


>Regards,
>Dave Banham
>
>
> >On the subject of member functions not being xref'd, I have found that 
> (in C)
> >function names used as function pointers (i.e. in call-back
> >initialisation) are
> >not xref'd. In fact the only way I can find them is to Grep the entire 
> project
> >which takes a number of minutes.
>
>This is actually really hard to do.
>
>We could certainly flag assignments of function pointers, but there is no
>good static determination of when a function is actually called
>dereferencing a function pointer. This requires runtime analysis. And it
>could be wrong; the runtime analysis would have to have a reverse table of
>addresses to functions. A debugger could do this while the exe is running.
>
>So the only thing we can do is flag assignments of function pointers and
>put it in the database.
>
> >Dave Banham
> >
>
>Syd Polk       spolk@redhat.com
>Engineering Manager +1 415 777 9810 x 241
>Red Hat, Inc.
>

Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.





More information about the Sourcenav mailing list