Suggestion for cflow

View: New views
2 Messages — Rating Filter:   Alert me  

Suggestion for cflow

by Jeff Post :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. Thanks for making cflow available.

Due to the nature of software I develop, I sometimes have functions accessed
through a pointer table. Cflow apparently only traces functions called
directly or indirectly from main(), and outputs nothing about functions
accessed through tables.

An old DOS program I used to have (I don't recall the name of it) had the
ability to trace such "orphaned functions". Do you think that feature could
be added to cflow?

Thanks,
Jeff



_______________________________________________
bug-cflow mailing list
bug-cflow@...
http://lists.gnu.org/mailman/listinfo/bug-cflow

Re: Suggestion for cflow

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeff <j_post@...> ha escrit:

> Hi. Thanks for making cflow available.

Hi Jeff. Sorry it took me so long to reply.
 
> Due to the nature of software I develop, I sometimes have functions accessed
> through a pointer table. Cflow apparently only traces functions called
> directly or indirectly from main(), and outputs nothing about functions
> accessed through tables.

Yes, to tell the truth, I often have the same problem:)

> An old DOS program I used to have (I don't recall the name of it) had the
> ability to trace such "orphaned functions". Do you think that feature could
> be added to cflow?

Yes, it could. This feature is already in my TODO list. Implementing it
requires rewriting the parser to do more in-depth analysis of the
code, but, apart from that, I don't see any difficulties. I will inform
you when I have something ready for testing.

Regards,
Sergey




_______________________________________________
bug-cflow mailing list
bug-cflow@...
http://lists.gnu.org/mailman/listinfo/bug-cflow