Control Flow Graph

Chris Johns chrisj at rtems.org
Sun May 5 23:31:59 UTC 2013


Binkowski, Cassio wrote:
> Anyone?
>

It has been the weekend where I am so answers may take a few days.

>
> On Sun, May 5, 2013 at 3:10 PM, Binkowski, Cassio <cassioiks at gmail.com
> <mailto:cassioiks at gmail.com>> wrote:
>
>     Hi everyone
>
>     Has anyone ever had to generate a control flow graph for your RTEMS
>     application? I'm currently in need of it and would like to know if
>     there is any automated tool for doing this. Do you know any?
>
>     I have I have found a couple but either the link is already broken
>     or it does not compile on Mac OS.

Have a look at the Python plugin for gcc...

https://fedorahosted.org/gcc-python-plugin/

There is a callgraph example in the doco. Maybe that is useful...

https://gcc-python-plugin.readthedocs.org/en/latest/index.html

If this works, a write up in our wiki would be nice.

Chris

>
>     I have also found a few GCC directives for generating CFG and Gimple
>     files, but I could not find any parser for graphic generation.
>
>     Please let me know in case you have any clues.
>
>     Thanks.
>     Cassio
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users



More information about the users mailing list