[Gambas-user] Flow graphs
Jussi Lahtinen
jussi.lahtinen at ...626...
Wed Dec 31 17:04:35 CET 2014
Thanks! I will look this.
Jussi
On Wed, Dec 31, 2014 at 4:37 PM, Tobias Boege <taboege at ...626...> wrote:
> On Wed, 31 Dec 2014, Jussi Lahtinen wrote:
> > Any tools or suggestions how to make easily call/flow graph from Gambas
> > project?
> >
>
> I thought about this a few days ago :-) I would imagine, given a path sPath
> to a project directory, you can do
>
> Exec ["gbc3" "-av", sPath] To sOutput
>
> then parse sOutput for CALL instructions and the preceding PUSH
> instructions
> which tell you which function was called. Of course, these CALLs are made
> from other functions. You feed those relations to a GraphMatrix (gb.data)
> and use the Graphviz project I uploaded yesterday to the software farm to
> create a Picture object from this graph.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list